[507] | 1 | Title: Status of the programs and scripts used for Amas@Nancay analysis at CCIN2P3 |
---|
| 2 | Revision: 7/9/11 |
---|
| 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 |
---|
| 16 | . calibration coefficient determination + monitoring |
---|
| 17 | . ON-OFF spectra determination (no RT calibration included) |
---|
| 18 | - Todo |
---|
| 19 | . include RT calibration |
---|
| 20 | - comments |
---|
| 21 | . ON-OFF part only validate for a single Abell85 run and not in batch mode |
---|
| 22 | . GAIN part should be revalidated according to inPath argument |
---|
| 23 | |
---|
| 24 | ----------------------------------------------------------- |
---|
| 25 | Collection of Bourne SHELL script for analysis |
---|
| 26 | ------------------------------------------------------------ |
---|
| 27 | |
---|
| 28 | A) Utilitary scripts to follow the DAQ & Analysis progress |
---|
| 29 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 30 | o statusdaq.sh |
---|
| 31 | -------------- |
---|
| 32 | - perform |
---|
| 33 | . scan all the /baoradio/data/AmamNancay to look at the directories and and make |
---|
| 34 | a summary of the Data Acquisition |
---|
| 35 | |
---|
| 36 | o statusheader.sh |
---|
| 37 | ----------------- |
---|
| 38 | - perform |
---|
| 39 | . scan Irods directories to look at header fits files extraction progress |
---|
| 40 | |
---|
| 41 | o statusgain.sh |
---|
| 42 | --------------- |
---|
| 43 | - perform |
---|
| 44 | . scan Irods directories to look at FINAL gain_* files production progress |
---|
| 45 | |
---|
| 46 | o statuscalib.sh |
---|
| 47 | ---------------- |
---|
| 48 | - perform |
---|
| 49 | . scan Irods directories to look at INTERMEDIATE calibcycle files production progress |
---|
| 50 | - Todo |
---|
| 51 | . scan also for FINAL calib_* files progress |
---|
| 52 | |
---|
| 53 | B) Utilitary scripts to send to BQS system high level task |
---|
| 54 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
| 55 | o submit2bqs-hdrfitsextractor.sh |
---|
| 56 | -------------------------------- |
---|
| 57 | - SHOULD BE DONE BEFORE gain/calib/analysis |
---|
| 58 | - send the hdrfitsextractor.sh script to BQS system |
---|
| 59 | - Todo list |
---|
| 60 | - TO MIGRATE TO NEW BATCH |
---|
| 61 | |
---|
| 62 | o submit2bqs-scaextractor.sh |
---|
| 63 | -------------------------------- |
---|
| 64 | - SHOULD BE DONE BEFORE gain/calib/analysis |
---|
| 65 | - send statusdaq if necessary |
---|
| 66 | - send the scaextractor.sh script to BQS system |
---|
| 67 | although this script is called by getscafiles lower level script |
---|
| 68 | - Todo list |
---|
| 69 | - TO MIGRATE TO NEW BATCH |
---|
| 70 | |
---|
| 71 | o submit2qs-gainmaker.sh |
---|
| 72 | ------------------------- |
---|
| 73 | - send the gainmaker.sh script to BQS system |
---|
| 74 | - Todo list |
---|
| 75 | - TO MIGRATE TO NEW BATCH |
---|
| 76 | |
---|
| 77 | o submit2qs-calibmaker.sh |
---|
| 78 | -------------------------- |
---|
| 79 | - send the calibmaker.sh script to BQS system |
---|
| 80 | - Todo list |
---|
| 81 | - TO MIGRATE TO NEW BATCH |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | C) High level scripts |
---|
| 85 | ++++++++++++++++++++++ |
---|
| 86 | o hdrfitsextractor.sh |
---|
| 87 | --------------------- |
---|
| 88 | - SHOULD BE DONE BEFORE ANYTHING |
---|
| 89 | - perform |
---|
| 90 | . extraction of the header part of the signalXYZ.fits files and |
---|
| 91 | . put the results into Irods |
---|
| 92 | - use |
---|
| 93 | . statusdaq.sh |
---|
| 94 | |
---|
| 95 | o gainmaker.sh |
---|
| 96 | --------------- |
---|
| 97 | - perform |
---|
| 98 | 1) the extraction of signalXYZ.fits files |
---|
| 99 | concerned by the OFF-calibration time window |
---|
| 100 | of the cycle located at the middle of the run |
---|
| 101 | 2) . the analysis of the above fits files to determine the |
---|
| 102 | gains of each channel: produce gain_* files (monitoring + gain files) |
---|
| 103 | . put the results into Irods |
---|
| 104 | - use |
---|
| 105 | - statusdaq.sh, proc_script.sh, getscafiles.sh |
---|
| 106 | - analysis.cc |
---|
| 107 | |
---|
| 108 | o calibmaker.sh |
---|
| 109 | --------------- |
---|
| 110 | - perfom |
---|
| 111 | 1) the extraction of signalXYZ.fits files |
---|
| 112 | concerned by the OFF & ON calibration time window of all cycles concerned |
---|
| 113 | 2) . the analysis of the above fits files to determine the |
---|
| 114 | calibration constantes of each channel: produce calib_* files (monitoring + calibration files) |
---|
| 115 | . put the results into Irods |
---|
| 116 | - use |
---|
| 117 | - statusdaq.sh, proc_script.sh, getscafiles.sh |
---|
| 118 | - analysis.cc |
---|
| 119 | |
---|
| 120 | D) Lower level scripts |
---|
| 121 | ++++++++++++++++++++++ |
---|
| 122 | |
---|
| 123 | o proc_script.sh |
---|
| 124 | ----------------- |
---|
| 125 | - VERY BUSY script |
---|
| 126 | - perform |
---|
| 127 | 1) all the preparation work to send in batch the "specmfib" program |
---|
| 128 | which perform the FFT and median/mean spectra for GAIN, CALIBRATION, ON-OFF task |
---|
| 129 | 2) the script that is sent in batch put the results into Irods |
---|
| 130 | - use |
---|
| 131 | - getscafiles.sh, select.sh, getsignalfiles.sh |
---|
| 132 | - Todo list |
---|
| 133 | - TO MIGRATE TO NEW BATCH |
---|
| 134 | |
---|
| 135 | |
---|
| 136 | o scaextractor.sh |
---|
| 137 | ----------------- |
---|
| 138 | - perform |
---|
| 139 | 1) extraction of the scaXYZ file |
---|
| 140 | 2) if the scaXYZ.sum and the scaXYZ.sum.trans files do not exist |
---|
| 141 | . create and put them into Irods |
---|
| 142 | . scaXYZ.sum = summary of the SCA file |
---|
| 143 | . scaXYZ.sum.trans = transformation of the date format of the scaXYZ.sum file |
---|
| 144 | - use |
---|
| 145 | - sca.sh, transdate.sh |
---|
| 146 | |
---|
| 147 | o sca.sh |
---|
| 148 | -------- |
---|
| 149 | - perform |
---|
| 150 | . produce the scaXYZ.sum (= summary of the SCA file) from a scaXYZ file |
---|
| 151 | |
---|
| 152 | o transdate.sh |
---|
| 153 | -------------- |
---|
| 154 | - perform |
---|
| 155 | . produce the scaXYZ.sum.trans (= transformation of the date format) from the scaXYZ.sum file |
---|
| 156 | |
---|
| 157 | o select.sh |
---|
| 158 | ----------- |
---|
| 159 | -perform |
---|
| 160 | . the selection of the signalXYZ.fits files according to the type of task requested |
---|
| 161 | as ON, OFF, CALIBON, CALIBOFF, GAIN |
---|
| 162 | |
---|
| 163 | o getscafiles.sh |
---|
| 164 | ---------------- |
---|
| 165 | - perform |
---|
| 166 | . download from Irods the scaXYZ, scaXYZ.sum and scaXYZ.sum.trans files |
---|
| 167 | - use |
---|
| 168 | scaextractor.sh |
---|
| 169 | |
---|
| 170 | o getsignals.sh |
---|
| 171 | --------------- |
---|
| 172 | - perform |
---|
| 173 | . download from Irods the signalXYZ.fits files |
---|
| 174 | |
---|
| 175 | |
---|
| 176 | |
---|
| 177 | |
---|