| | 1 | * create the project in the pipeline database: |
| | 2 | |
| | 3 | dbadmin project ipp000 ipp eamtest |
| | 4 | |
| | 5 | * create the db tables |
| | 6 | |
| | 7 | pxadmin -create -dbname eamtest |
| | 8 | |
| | 9 | * PATH entries, if used, must be defined in site.config (must be same as the one used by ippMonitor) |
| | 10 | |
| | 11 | path://EAMTEST == /data/alala.0/eugene/swtests/simtest/raw |
| | 12 | path://EAMWORK == /data/alala.0/eugene/swtests/simtest/work |
| | 13 | |
| | 14 | * generate the fake data (skipping the inject). The output path (EAMTEST) must exist. the telescope is passed to inject, and is replaced in registration by the controlled name. the camera is important and must match the name in the .ipprc table of cameras. (which format is used?) |
| | 15 | |
| | 16 | ipp_simulation_data.pl --no-update --name eamtest --dbname eamtest --camera SIMTEST --telescope eamtest --workdir path://EAMWORK/ --path path://EAMTEST/ |
| | 17 | |
| | 18 | inject the fake images into the pipeline database. the telescope and camera are for the user's reference only, and will be replaced during the registration step with the controlled camera name. |
| | 19 | |
| | 20 | ipp_serial_inject.pl --telescope sim --camera simcam --workdir path://EAMWORK/ --dbname eamtest raw/*.fits |
| | 21 | |
| | 22 | Start up pantasks and register the data: |
| | 23 | |
| | 24 | module pantasks.pro |
| | 25 | module register.pro |
| | 26 | controller host add alala |
| | 27 | add.database eamtest |
| | 28 | run |
| | 29 | |
| | 30 | Running the detrend analysis using the mkdetrend.config dependency table: |
| | 31 | |
| | 32 | stop |
| | 33 | module.tasks |
| | 34 | register.off; chip.off; camera.off; warp.off; diff.off; stack.off |
| | 35 | module mkdetrend.pro |
| | 36 | load.detRunDefs simtest.det |
| | 37 | run |
| | 38 | |
| | 39 | After a while, you should have bias, dark, shutter, flats completed |
| | 40 | |
| | 41 | == Running the detrend steps by hand == |
| | 42 | |
| | 43 | request a bias: |
| | 44 | |
| | 45 | dettool -pretend -simple -definebyquery -dbname eamtest -workdir path://EAMWORK -inst SIMTEST -det_type BIAS -select_exp_type BIAS |
| | 46 | |
| | 47 | request a dark: |
| | 48 | |
| | 49 | dettool -pretend -simple -definebyquery -dbname eamtest -workdir path://EAMWORK -inst SIMTEST -det_type DARK -select_exp_type DARK |
| | 50 | |
| | 51 | request a shutter: |
| | 52 | |
| | 53 | dettool -pretend -simple -definebyquery -dbname eamtest -workdir path://EAMWORK -inst SIMTEST -det_type SHUTTER -filter r -select_exp_type FLAT -select_filter r |
| | 54 | |
| | 55 | request a flat: |
| | 56 | |
| | 57 | dettool -pretend -simple -definebyquery -dbname eamtest -workdir path://EAMWORK -inst SIMTEST -det_type FLAT -filter r -select_exp_type FLAT -select_filter r |
| | 58 | |
| | 59 | dettool -pretend -simple -definebyquery -dbname eamtest -workdir path://EAMWORK -inst SIMTEST -det_type FLAT -filter i -select_exp_type FLAT -select_filter i |