[507] | 1 | Title: Status of the programs and scripts used for Amas@Nancay analysis at CCIN2P3 |
---|
[610] | 2 | Revision: 28/11/11 (JEC+AST) |
---|
[507] | 3 | Author: J.E Campagne 22/7/11 |
---|
| 4 | ---------------------------- |
---|
| 5 | |
---|
| 6 | Intro: |
---|
| 7 | All these tools are located for the while in J.E Campagne private directory, so they are not |
---|
| 8 | yet available to public usage and this note is essentially for information and software tracking. |
---|
| 9 | |
---|
| 10 | ----------------------------------------------------------- |
---|
| 11 | Analysis program |
---|
| 12 | ------------------------------------------------------------ |
---|
| 13 | o analysis.cc |
---|
| 14 | - perfom |
---|
| 15 | . gain spectra determination + monitoring |
---|
[539] | 16 | . ON-OFF spectra without calibration |
---|
[507] | 17 | . calibration coefficient determination + monitoring |
---|
| 18 | . ON-OFF spectra determination (no RT calibration included) |
---|
| 19 | - Todo |
---|
[539] | 20 | . include RT calibration, or a RT/BAO calibration using a calibrator source |
---|
[507] | 21 | - comments |
---|
[539] | 22 | . the STANDARD usage since end september 11 is GAIN + ON-OFF wo calibration |
---|
[610] | 23 | |
---|
| 24 | |
---|
| 25 | |
---|
[507] | 26 | |
---|
| 27 | ----------------------------------------------------------- |
---|
| 28 | Collection of Bourne SHELL script for analysis |
---|
| 29 | ------------------------------------------------------------ |
---|
| 30 | |
---|
| 31 | A) Utilitary scripts to follow the DAQ & Analysis progress |
---|
| 32 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
[574] | 33 | o mkarchive.sh |
---|
| 34 | --------------- |
---|
| 35 | - perform the archive of a processing in Irods |
---|
| 36 | . create a <ppTag>Arch<apTag> directory |
---|
| 37 | . move the cabli_*.txt files |
---|
| 38 | . move the *.ppf / *.fits files results of the analysis |
---|
| 39 | . for the gain...fits only a copy is done to keep a version |
---|
| 40 | . move the Off and On directorys |
---|
| 41 | . create new fresh On and Off directory |
---|
| 42 | |
---|
| 43 | |
---|
[507] | 44 | o statusdaq.sh |
---|
| 45 | -------------- |
---|
| 46 | - perform |
---|
| 47 | . scan all the /baoradio/data/AmamNancay to look at the directories and and make |
---|
| 48 | a summary of the Data Acquisition |
---|
| 49 | |
---|
| 50 | o statusheader.sh |
---|
| 51 | ----------------- |
---|
| 52 | - perform |
---|
| 53 | . scan Irods directories to look at header fits files extraction progress |
---|
| 54 | |
---|
| 55 | o statusgain.sh |
---|
| 56 | --------------- |
---|
| 57 | - perform |
---|
| 58 | . scan Irods directories to look at FINAL gain_* files production progress |
---|
| 59 | |
---|
| 60 | o statuscalib.sh |
---|
| 61 | ---------------- |
---|
| 62 | - perform |
---|
| 63 | . scan Irods directories to look at INTERMEDIATE calibcycle files production progress |
---|
| 64 | - Todo |
---|
| 65 | . scan also for FINAL calib_* files progress |
---|
[539] | 66 | o statusonoff.sh |
---|
| 67 | ---------------- |
---|
| 68 | - perform |
---|
| 69 | . scan Irods On and Off directories to look at datacycle<cycle> contents |
---|
[507] | 70 | |
---|
[539] | 71 | o statusCycles.sh |
---|
| 72 | ----------------- |
---|
| 73 | - perform |
---|
| 74 | . scan Irods directories to look at sca<>.sum files to count the number of cycles per run |
---|
| 75 | |
---|
[610] | 76 | B) Utilitary scripts to send to GE system high level task (note old BQS batch is obsolete now) |
---|
[507] | 77 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
[610] | 78 | o submit2ge-hdrfitsextractor.sh |
---|
[507] | 79 | -------------------------------- |
---|
| 80 | - SHOULD BE DONE BEFORE gain/calib/analysis |
---|
[610] | 81 | - send the hdrfitsextractor.sh script to GE system |
---|
[507] | 82 | |
---|
| 83 | |
---|
[610] | 84 | o submit2ge-procspecmfib.sh |
---|
[573] | 85 | ----------------------------- |
---|
| 86 | - SHOULD BE DONE for processing signals for FFT/paquet median filtering |
---|
| 87 | - GAIN/CALIB/ON, OFF... |
---|
[610] | 88 | - prepare and send in batch the proc_specmfib.sh to GE |
---|
[573] | 89 | - exemple |
---|
[610] | 90 | ./submit2ge-procspecmfib.sh -src Abell85 -date 20110422 -type CALIBOFF -fcycle 8 -lcycle 14 |
---|
[573] | 91 | |
---|
[610] | 92 | o submit2ge-anagainmaker.sh |
---|
[573] | 93 | ---------------------------- |
---|
| 94 | - done after proc_specmfib |
---|
| 95 | - prepare and send the analyse.cc prg for gain computation |
---|
| 96 | - exemple |
---|
| 97 | |
---|
[610] | 98 | o submit2ge-anacalibmaker.sh |
---|
[573] | 99 | ---------------------------- |
---|
| 100 | - done after proc_specmfib |
---|
| 101 | - prepare and send the analyse.cc prg for calibration computation |
---|
| 102 | - exemples: |
---|
[610] | 103 | > $./submit2ge-anacalibmaker.sh -src Abell85 -date 20110410 |
---|
[573] | 104 | |
---|
[610] | 105 | o submit2ge-scaextractor.sh |
---|
| 106 | -------------------------------- |
---|
| 107 | - SHOULD BE DONE BEFORE gain/calib/analysis |
---|
| 108 | - send the scaextractor.sh script to GE system |
---|
| 109 | although this script is called by getscafiles lower level script |
---|
[507] | 110 | |
---|
| 111 | |
---|
| 112 | C) High level scripts |
---|
| 113 | ++++++++++++++++++++++ |
---|
| 114 | o hdrfitsextractor.sh |
---|
| 115 | --------------------- |
---|
| 116 | - SHOULD BE DONE BEFORE ANYTHING |
---|
| 117 | - perform |
---|
| 118 | . extraction of the header part of the signalXYZ.fits files and |
---|
| 119 | . put the results into Irods |
---|
| 120 | - use |
---|
| 121 | . statusdaq.sh |
---|
| 122 | |
---|
[573] | 123 | o anagainmaker.sh |
---|
| 124 | ----------------- |
---|
| 125 | - perform |
---|
[610] | 126 | . the analysis to determine the |
---|
[573] | 127 | gains of each channel: produce gain_* files (monitoring + gain files) |
---|
| 128 | . put the results into Irods |
---|
| 129 | - use |
---|
| 130 | - getscafiles.sh |
---|
| 131 | - analysis.cc |
---|
| 132 | |
---|
| 133 | o anacalibmaker.sh |
---|
| 134 | ------------------ |
---|
| 135 | - perfom |
---|
[610] | 136 | . prepare the analysis |
---|
[573] | 137 | . put calib_* files (monitoring + calibration files) into Irods |
---|
| 138 | - use |
---|
| 139 | - getscafiles.sh |
---|
| 140 | - analysis.cc |
---|
| 141 | |
---|
| 142 | |
---|
[507] | 143 | |
---|
[610] | 144 | o anarawonoffmaker.sh |
---|
| 145 | --------------------- |
---|
[519] | 146 | - perform |
---|
[610] | 147 | . prepare the analysis |
---|
| 148 | . put dataRaw_* (raw spectra), |
---|
| 149 | diffOnOffRaw_* (ON-OFF spectra although not used by final analysis) |
---|
[519] | 150 | |
---|
[507] | 151 | D) Lower level scripts |
---|
| 152 | ++++++++++++++++++++++ |
---|
[539] | 153 | |
---|
[573] | 154 | o proc_specmfib.sh |
---|
[539] | 155 | ------------------ |
---|
[573] | 156 | - perform all the preparation work to send in batch the "specmfib" |
---|
| 157 | program which perform the FFT and median/mean spectra |
---|
| 158 | for the GAIN/CALIB/ON-OFF... task |
---|
| 159 | - use |
---|
| 160 | - getscafiles.sh, select.sh, statusdaq.sh, getsignalfiles.sh |
---|
| 161 | - comments |
---|
| 162 | - this is the pre-processing of the data to be used before |
---|
| 163 | anaXYZ script which are post-processing |
---|
| 164 | |
---|
| 165 | |
---|
[507] | 166 | o scaextractor.sh |
---|
| 167 | ----------------- |
---|
| 168 | - perform |
---|
| 169 | 1) extraction of the scaXYZ file |
---|
| 170 | 2) if the scaXYZ.sum and the scaXYZ.sum.trans files do not exist |
---|
| 171 | . create and put them into Irods |
---|
| 172 | . scaXYZ.sum = summary of the SCA file |
---|
| 173 | . scaXYZ.sum.trans = transformation of the date format of the scaXYZ.sum file |
---|
| 174 | - use |
---|
| 175 | - sca.sh, transdate.sh |
---|
| 176 | |
---|
| 177 | o sca.sh |
---|
| 178 | -------- |
---|
| 179 | - perform |
---|
| 180 | . produce the scaXYZ.sum (= summary of the SCA file) from a scaXYZ file |
---|
| 181 | |
---|
| 182 | o transdate.sh |
---|
| 183 | -------------- |
---|
| 184 | - perform |
---|
| 185 | . produce the scaXYZ.sum.trans (= transformation of the date format) from the scaXYZ.sum file |
---|
| 186 | |
---|
| 187 | o select.sh |
---|
| 188 | ----------- |
---|
| 189 | -perform |
---|
| 190 | . the selection of the signalXYZ.fits files according to the type of task requested |
---|
| 191 | as ON, OFF, CALIBON, CALIBOFF, GAIN |
---|
| 192 | |
---|
| 193 | o getscafiles.sh |
---|
| 194 | ---------------- |
---|
| 195 | - perform |
---|
| 196 | . download from Irods the scaXYZ, scaXYZ.sum and scaXYZ.sum.trans files |
---|
| 197 | - use |
---|
| 198 | scaextractor.sh |
---|
| 199 | |
---|
| 200 | o getsignals.sh |
---|
| 201 | --------------- |
---|
| 202 | - perform |
---|
| 203 | . download from Irods the signalXYZ.fits files |
---|
| 204 | |
---|
| 205 | |
---|
| 206 | |
---|
| 207 | |
---|