HOME ESR EXPERIMENTS LABS etc
E121 E127 E132 E125 E143 laser_cooling_2021 E142 Ê128 E146 E0052 E0018 E0028 E0038 E0075 E0203_E0018
  masses & isomeres 2025, Page 7 of 17  Not logged in ELOG logo
ID Date Authordown Category Subject
  57   Tue Apr 1 23:56:18 2025 Shahab, Carlo, Zac, Yue, MichaelDAQChange of RSA01 settings for new harmonic=212.
23:55 stop the RSAs. 

410:
last file from previous setting (harmonic=211): 2025.04.01.23.55.21.712.
new plunger position for 410 cavity: 33.5 inside and outside.
new center frequency: 410535000 Hz.

245:
harmonic didn't change, still 126.
adjusted center frequency to 243997000 Hz.

00:31 restart the RSAs.
new files from: 2025.04.02.00.31.11.796.
  12   Mon Mar 31 20:53:02 2025 Shahab, Carlo, Zac, Esther, MichaelDAQDAQ start
20:28 started NTCAP
started queqiao file transfer for RSAs only
started analyzer looper for RSAs

 
  9   Mon Mar 31 16:53:03 2025 ShahabDAQstop and delete NTCAP data from Weekend test
stop and delete NTCAP data from Weekend test

for now the NAS data2 bank has been flushed to make sure good operation for today's beam.
we have now 35 TB space on bank 2.

the recording will be done on the bank2 of the NAS.

There are still some junk data on bank1, which we will remove later.
  55   Tue Apr 1 23:07:15 2025 ShahabDAQshort interruption of queqiao script for RSAs
has been restored.
  93   Wed Apr 2 20:57:34 2025 ShahabDetectors10GB cables for the DAQ rack
We have been working together with IT on the speed of data transfer: with the new 10 GB interface we can now transfer data from NAS to Lustre with 400MB/s. From NAS to GPU Computer up to 700MB/s. All cables around the rack are now 10GB capable.
  137   Fri Apr 4 01:12:03 2025 ShahabAnalysisNPZ add up script
Since there are many NPZ summer scripts around, I thought I would also share mine. This one takes advantage of the power of filelists and has a progress bar. Creating file lists gives you more control over the range of analyzed data, for example, the command:

find /data.local/G22-00018_00203/results/analyzers/RSA02 -name "RSA02-2025.04.04.01.??.??.???.tiq_spectrogram.npz" > filelist.txt

makes a file list of everything file that was produced during the second hour of the morning of the April 4th. You can fine tune the wildcards according to the time range you are interested in.


then just call the script by:

python npz_addup.py filelist.txt

you can also provide time cuts, like this:

python npz_addup.py --time-cut 0.14 filelist.txt

which will cut away first 0.14 seconds of the spectrogram. Without time cuts, it will do over the whole range.


It creates 4 type of files:

summed_spectrum.npz --> for use with RionID for PID
summed_spectrogram.npz --> for general use / analysis
summed_spectrum.png --> for general view
summed_spectrogram.png --> for detailed view

if time-cut is provided, the filenames will have a "_time_cut" suffix at the end.


Here is the link to the script:

https://github.com/xaratustrah/e0018_e0203_scripts/blob/main/npz_addup.py

examples are in attachment:
  200   Sat Apr 5 15:25:16 2025 ShahabDAQstop RSA02 looper script
2025-04-05 15:25
Stop the RSA02 looper script to change the settings of analysis
  214   Sat Apr 5 20:58:37 2025 ShahabDAQremoved temporary NPZ files for additional disk space
Deleted 14 TB of unused spectrum.npz files from APPC, so that there is more disk space.

switched off the production of .tiq_spectrum.npz files to save disk space in the looper script



Explanation:

.tiq_spectrogram.npz —> 3D NPZ files, that can be used for add up and create small 2D "spectrum" file for RionID

.tiq_spectrum.npz —> 2D NPZ files with super high resolution, noone needs them up to now
  277   Mon Apr 7 16:07:42 2025 ShahabGeneralall config files
here are all TOML config files of the automatic scripts.
  285   Mon Apr 7 17:51:15 2025 ShahabGeneralHowTo change resonance frequency of 410 MHz Cavity
step by step pictures:

sometimes the name of the motor connection is not available in the menu, it should be added manually.

Add MBOX:

put some name, like "410 MHz Schottky Cavity in ESR"
put the IP address: 140.181.139.194

press connect

change to local control

press initialize

go to motor drive

go to motor 1 and 2

always move same value for both motors.
  290   Mon Apr 7 18:58:04 2025 ShahabDAQchanged averaging in NPZ files
new analysis settings for NPZ files:

[analysis]
nframes = 190
lframes = 65536
navg = 1


first file with this setting:

'RSA02-2025.04.07.18.57.17.454.tiq', 'RSA02-2025.04.07.18.57.02.328.tiq', 'RSA02-2025.04.07.18.58.17.958.tiq', 'RSA02-2025.04.07.18.57.40.143.tiq', 'RSA02-2025.04.07.18.58.25.520.tiq', 
'RSA02-2025.04.07.18.57.09.892.tiq', 'RSA02-2025.04.07.18.57.32.580.tiq', 'RSA02-2025.04.07.18.57.25.017.tiq', 'RSA02-2025.04.07.18.58.10.395.tiq', 'RSA02-2025.04.07.18.57.55.271.tiq', 
'RSA02-2025.04.07.18.56.54.765.tiq', 'RSA02-2025.04.07.18.58.02.833.tiq', 'RSA02-2025.04.07.18.57.47.707.tiq', 'RSA02-2025.04.07.18.56.47.202.tiq'
  330   Fri Apr 11 15:49:41 2025 ShahabGeneralScreenshots of RSAs
Screenshots of RSAs showing acquisition settings, for documentation, they show the time / date on the bottom left, in case needed for data analysis.
  331   Fri Apr 11 15:57:37 2025 ShahabGeneralMore screenshots of RSAs
more screen shots of RSAs.
  322   Wed Apr 9 00:08:30 2025 Sergey, Yuri and XinliangGeneralMove of the scraper positions at ESR
From roughly … to 0:05AM, Sergey moved GEEXDS1HA (not 
changed 
in the end) and GE01DS3HG (changed from -85 to -80 mm) to reduce 
the acceptance of the ESR to improve the mass resolution.

After the change, there are less small traces appearing in the 
413.55735 MHz +/-5 kHz range. 

The final positions of the two scrapers are 
GEEXDS1HA :-10 mm; GE01DS3HG:-80 mm.
  5   Fri Mar 28 22:20:47 2025 Sergey, ShahabGeneralPattern
the ACC pattern for both experiments.
  321   Tue Apr 8 23:08:15 2025 Sergey Litvinov, Xinliang YanGeneralTuning of the ion optics
From roughly 10:45 pm to 11:05 pm,  Sergey tuned the 
ion optics of the ESR to see if the mass resolution at 
413.55735 MHz improves or not. Please note that the 
frequencies of ions during the tuning process are not 
stable.

Q-magnets and S-magnets have been adjusted, see 
accelerator E-logs ID-844 titled ‘ ESR seting for 
204Pt77+’ created by Sergey.
  73   Wed Apr 2 10:02:40 2025 Sergey + YuriAcceleratorESR Timeout
At around 9:40, ESR timeout changed from 10 s to 30 s
Triggering only on real injections.
Before that, every second injection was not real but the old one. They can be identified since they should have no "kicker" disturbance.
  84   Wed Apr 2 16:28:14 2025 SS, ID, HA etcDAQNTCAP stop/start
NTCAP was stopped and restarted.
  121   Thu Apr 3 13:36:17 2025 Ruijiu,Yuri, Wolfram,ZsoltAnalysis188Hf identification
  158   Fri Apr 4 16:24:48 2025 Ruijiu, YuriAnalysisPID of 186Hf
Code used to add up injection data.
(pyroot) gpuuser@appc256:/data.local/G22-00018_00203/scripts/OnlineDataAnalysisSystem/shift/20250331/data/2025.04.04.13.00$ find /data.local/G22-00018_00203/results/analyzers/RSA01 -name "RSA01-2025.04.04.*.tiq_spectrogram.npz" > filelist.txt
(pyroot) gpuuser@appc256:/data.local/G22-00018_00203/scripts/OnlineDataAnalysisSystem/shift/20250331/data/summed_spectrum$ python npz_addup.py --time-cut 0.14 filelist.txt
ELOG V3.1.5-fc6679b