Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deshima-dev/kidanalysis-delft
KID analysis scripts made in Delft
https://github.com/deshima-dev/kidanalysis-delft
Last synced: 1 day ago
JSON representation
KID analysis scripts made in Delft
- Host: GitHub
- URL: https://github.com/deshima-dev/kidanalysis-delft
- Owner: deshima-dev
- Created: 2024-05-15T07:51:25.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-09-03T13:35:21.000Z (4 months ago)
- Last Synced: 2024-11-05T14:09:51.417Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 272 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @ scripts/terahertzsweep
These shell scripts are for Toptica THz sweep analysis and Readout power sweep analysis
## run_sf.sh (for Toptica THz sweep analysis)ex.)
```
$ ./run_sf.sh /home/deshima/data/LT263_FlightChip/run_20240421_004647/TerahertzScan_20240421_005117/ out_test
``````shell
#!/bin/sh
NCPU=`python -c "import multiprocessing as m; print(m.cpu_count() - 1);"`echo NCPU = $NCPU
file_dir=$1
out_dir=$2last_dir=$(basename "$file_dir")
second_last_dir=$(basename "$(dirname "$file_dir")")echo ====Configure.py====
echo -e "${file_dir}\n/home/deshima/data/analysis/${second_last_dir}/${last_dir}/${out_dir}" | python Configure.pyecho ====FitSweep.py====
python FitSweep.py
echo ====FitSweep.py --mode plot --ncpu $NCPU====
python FitSweep.py --mode plot --ncpu $NCPUecho ====SaveFits.py====
python SaveFits.py
echo ====SaveFits.py --mode plot --ncpu $NCPU====
python SaveFits.py --mode plot --ncpu $NCPUecho ====THzFrequencyTOD.py --refvalue 5.0====
python THzFrequencyTOD.py --refvalue 5.0
echo ====THzFrequencyTOD.py --mode plot --ncpu $NCPU====
python THzFrequencyTOD.py --mode plot --ncpu $NCPUecho ====python AnaSpectrum.py --mode 1 --ncpu $NCPU====
###python AnaSpectrum.py --mode 1 --ncpu $NCPU
echo ====python AnaSpectrum.py --mode 2====
python AnaSpectrum.py --mode 2echo ====KIDCorresp.py====
python KIDCorresp.pyjson_fullpath=/home/deshima/data/analysis/${second_last_dir}/${last_dir}/${out_dir}/kid_corresp.json
timestamp=$(date +"%Y%m%d_%H%M%S")
destination_base_json="/data/spacekids/data/ASTE2024/LT263_FlightChip/kidcorresp"
remote_machine="aste-d1c"
scp ${json_fullpath} ${remote_machine}:${destination_base_json}/${timestamp}_kid_corresp.json
ssh ${remote_machine} <