Changes between Version 66 and Version 67 of NightOperations/Commissioning/pFPA


Ignore:
Timestamp:
Oct 15, 2023 9:50:56 AM (7 months ago)
Author:
stevenj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NightOperations/Commissioning/pFPA

    v66 v67  
    143143  * Use g` filters for ACQ camera and guiders
    144144  * OPEN the PFIP shutter in order to use the BIB camera
    145   * Setup on this target and ask TO to center star in BIB (on new coordinates!), handshake to a guider, activate a wavefront sensor and allow it to stabilize
    146   * Deploy ACQ camera mirror and store 3x shallow and 3x deep images in g!` and i` filters.
    147      * Measure the position of the star in the 3x shallow images and update the value on the wiki
    148   * Retract ACQ camera mirror (will be done automatically with iexp shortly)
    149   * If not running, start BIB camera pipeline and store images (unsaturated), '''verify''' that the star is still well-centered at the center of the BIB camera
    150   * Run a dithered VIRUS exposure with {{{iexp}}} then modify command to something like this ''changing the target name appropriately'':
     145  * Setup on this target and ask TO to center star in BIB (on new coordinates!), handshake to a guider, activate a wavefront sensor and allow it to stabilize for 60s
     146  * Deploy ACQ camera mirror and store 5x shallow (5s) and 5x deep (10-20s) images in g!` and i` filters.
     147     * Measure the position of the star in the 5x shallow images, average their values together, and update the value on the wiki
     148     * Stack the 5x deep images and plate solve (add WCS) the stacked image.
     149  * Retract ACQ camera mirror (or will be done automatically with iexp/OTT)
     150  * If not running, start BIB camera pipeline and store images (check that start is unsaturated), '''verify''' that the star is still well-centered at the center of the BIB camera
     151  * Run the dithered VIRUS exposure with {{{iexp}}} then modify command to something like this ''changing the target name if needed'':
    151152
    152153   {{{vlexp -B -i virus -pobj m14_bib_1_555_E -texp 360.0 -dither}}}
    153154
     155  * After it is finished and copied to TACC, tun [wiki:HetProcedures/RA/virus#remedy ''Remedy''] on TACC for this VIRUS observation.
     156     * after logging in to //lonestar6// the command will be something like:
     157{{{
     158idev -N 1 -m 120 -p development
     159python3 /work/03730/gregz/maverick/Remedy/quick_reduction.py 20230905 22 37 /work/03730/gregz/maverick/output/20230301_20230401.h5 -nd 8 -fp /work/03730/gregz/maverick/fplaneall.txt -nD -qs -mc > log_20230905_11_37.txt 2>&1
     160}}}
     161  * Use the WCS solution from Remedy (IHMP coordinates and angle) and the known coordinate of this star to determine the fplane coordinates of the BIB.
     162    * Remedy will give an output like:
     163{{{
     164[INFO - 2022-08-14 00:17:53,138] 20220813 0000012
     165Astrometry: 321.395757 24.98419 160.19
     166}}}
     167       which is the IHMP position in RA & Dec (in degrees) and the rotation angle (deg).
     168    * Plot this RA & Dec on the plate-solved deep ACQ image, and verify that its X,Y coordinates on the ACQ camera are consistent with the measurement from the short ACQ images earlier.
     169    * It is unlikely that we would need to update the fplane file unless something mechanical has changed in the BIB (right??)
     170    * Send the IHMP pixel value to the software team to update CRPIX on the ACQ camera in TCS (note these are in units of binned pixels).
     171
     172
     173=== Measure LRS2-B & LRS2-R positions on ACQ camera === #lrs2acq
     174  * Will do each spectrograph (B and R) separately, unless there is enough time on a single trajectory
     175  * Select a 14th magnitude star with low proper motion in a rich field from the ENGYY-T-000 program ({{{m14_B_*}}} or {{{m14_R_*}}}) which has at least 30 minutes left in its track
     176     * Note that LRS2-B is {{{IFU=056}}}
     177     * Note that LRS2-R is {{{IFU=066}}}
     178  * Setup on this target (ask the TO to set up at the old position on ACQ camera), handshake to a guider, activate a wavefront sensor and allow it to stabilize for 60s
     179  * Take a 60s exposure with LRS2-B (or LRS2-R), using {{{iexp}}} modified to something like this ''changing the target name if necessary'':
     180
     181   {{{vlexp -B -i lrs2 -pobj m14_B_1_056_E -texp 60.0 }}}
     182
     183   or
     184
     185   {{{vlexp -B -i lrs2 -pobj m14_R_1_066_E -texp 60.0 }}}
     186
     187  * Run [http://www.as.utexas.edu/~sco/scocodes/lmap_modern_scripts/index.html lmap] on this exposure to calculate the offset
     188  * Re-center using small trajectory offset **ONLY** (like {{{mgp -toff=+1.254,-1.253}}}) provided in lmap's output
     189  * Make sure the ACQ pipeline is running and storing images
     190  * Take another 60s LRS2 exposure, as described above
     191  * Run [http://www.as.utexas.edu/~sco/scocodes/lmap_modern_scripts/index.html lmap] again and verify centering (repeat if necessary until centered within 0.3")
     192  * Deploy ACQ camera mirror and store 5x shallow (5s) and 3x deep (10-20s) images in g!` filter for LRS2-B (r` filter for LRS2-R)
     193     * Measure the X,Y position of the star in the 5x shallow images, average the values together,  and [wiki:HetProcedures/RA/markers update the value on the wiki]
     194     * Stack the 5x deep images and plate solve (add WCS) the stacked image.
     195        * Determine the X,Y coordinates of the star's RA,Dec coordinates, just to verify
     196  * Retract the ACQ camera mirror
     197  * Tomorrow afternoon, verify that the //Panacea// data reductions show nicely centered stars on the LRS2 exposures - that will be the position of all targets hopefully.
     198
     199  * In the past we took VIRUS exposures here but their actual utility was somewhat limited. Consider omitting this step (see older instructions if you want to attempt it)
     200
     201
     202
     203=== Measure the mapping between the ACQ camera and the IHMP with VIRUS === #vacq
     204  * In this unusual test, we take a dithered VIRUS observation '''with the ACQ camera mirror deployed and storing images'''
     205  * Select on of the VIRUS targets on a rich open/globular cluster field from the ENGYY-T-000 program ({{{VCl_*}}} which has at least 30 minutes left in its track
     206     * Note that these use {{{IFU=068}}}
     207     * Note the guiders and ACQ camera should be using the g` filter as usual for VIRUS setups
     208  * Setup on this target with a blind setup, handshake to a guider, activate a wavefront sensor and allow it to stabilize for about 60 seconds
     209  * Run {{{iexp}}} for this target and verify that the command looks like:
     210
     211   {{{vlexp -B -i virus -pobj VCl_NGC999_1_068_E -texp 360.0 -dither}}}
     212
     213  * Ask the TO to click "setup complete"
     214  * Immediately re-insert the ACQ camera mirror and start the ACQ camera pipeline running and storing images. Use at least a 10s exposure, and possibly up to 60s if necessary to get good observations for later WCS-solving (several dozen stars visible). Allow the ACQ camera to continue storing images throughout the 3x360s VIRUS dither pattern.
    154215  * Run [wiki:HetProcedures/RA/virus#remedy ''Remedy''] on TACC for this VIRUS observation.
    155216     * after logging in to //lonestar6// the command will be something like:
     
    158219python3 /work/03730/gregz/maverick/Remedy/quick_reduction.py 20230905 22 37 /work/03730/gregz/maverick/output/20230301_20230401.h5 -nd 8 -fp /work/03730/gregz/maverick/fplaneall.txt -nD -qs -mc > log_20230905_11_37.txt 2>&1
    159220}}}
    160   * Use the WCS solution from Remedy (IHMP coordinates and angle) and the known coordinate of this star to determine the fplane coordinates of the BIB.
    161      * If necessary, update the fplane file with this new value
    162      * Send this value to the software team to update CRPIX on the ACQ camera in TCS (note these are in units of binned pixels).
    163 
    164 
    165 === Measure LRS2-B & LRS2-R positions on ACQ camera and on IHMP with VIRUS === #lrs2acq
    166   * Will do each spectrograph (B and R) separately, unless there is enough time on a single trajectory
    167   * Select a 14th magnitude star with low proper motion in a rich field from the ENGYY-T-000 program ({{{m14_B_*}}} or {{{m14_R_*}}}) which has at least 30 minutes left in its track
    168      * Note that LRS2-B is {{{IFU=056}}}
    169      * Note that LRS2-R is {{{IFU=066}}}
    170   * Setup on this target (ask the TO to set up at the old position on ACQ camera), handshake to a guider, activate a wavefront sensor and allow it to stabilize
    171   * Take a 60s exposure with LRS2-B (or LRS2-R), using {{{iexp}}} modified to something like this ''changing the target name appropriately'':
    172 
    173    {{{vlexp -B -i lrs2 -pobj m14_B_1_056_E -texp 60.0 }}}
    174 
    175    or
    176 
    177    {{{vlexp -B -i lrs2 -pobj m14_R_1_066_E -texp 60.0 }}}
    178 
    179   * Run [http://www.as.utexas.edu/~sco/scocodes/lmap_modern_scripts/index.html lmap] on this exposure to calculate the offset
    180   * Re-center using small trajectory offset **ONLY** (like mgp -t xxxxx) provided by lmap's output
    181   * Make sure the ACQ pipeline is running and storing images
    182   * Take another 60s LRS2 exposure, as described above
    183   * Run [http://www.as.utexas.edu/~sco/scocodes/lmap_modern_scripts/index.html lmap] again and verify centering
    184   * Deploy ACQ camera mirror and store 3x shallow and 3x deep images in g!` filter for LRS2-B (r` filter for LRS2-R)
    185      * Measure the position of the star in the 3x shallow images and [wiki:HetProcedures/RA/markers update the value on the wiki]
    186   * Retract the ACQ camera mirror
    187   * Run a dithered VIRUS exposure with parallel LRS2 with {{{iexp}}} then modify command to something like this ''changing the target name appropriately'':
    188 
    189    {{{vlexp -B -i virus -pobj m14_B_1_056_E -texp 360.0 -dither -par}}}
    190 
    191    or
    192 
    193    {{{vlexp -B -i virus -pobj m14_R_1_066_E -texp 360.0 -dither -par}}}
    194 
    195   * Run [wiki:HetProcedures/RA/virus#remedy ''Remedy'']  on TACC for this VIRUS observation.
    196   * Use the WCS solution from Remedy (IHMP coordinates and angle) and the known coordinate of this star to determine the fplane coordinates of LRS2-B (or LRS2-R).
    197      * If necessary, update the fplane file with this new value
    198   * Later, '''VERIFY''' that the reduced data from '''Panacea''' show the star well-centered on the IFU; if not, make corrections and re-determine.
    199 
    200 
    201 
    202 === Measure the mapping between the ACQ camera and the IHMP === #vacq
    203   * In this unusual test, we take a dithered VIRUS observation '''with the ACQ camera mirror deployed and storing images'''
    204   * Select on of the VIRUS targets on a rich open/globular cluster field from the ENGYY-T-000 program ({{{VCl_*}}} which has at least 30 minutes left in its track
    205      * Note that these use {{{IFU=068}}}
    206      * Note the guiders and ACQ camera should be using the g` filter as usual for VIRUS setups
    207   * Setup on this target with a blind setup, handshake to a guider, activate a wavefront sensor and allow it to stabilize for about 60 seconds
    208   * Run {{{iexp}}} for this target and verify that the command looks like:
    209 
    210    {{{vlexp -B -i virus -pobj VCl_NGC999_1_068_E -texp 360.0 -dither}}}
    211 
    212   * Ask the TO to click "setup complete"
    213   * Immediately re-insert the ACQ camera mirror and start the ACQ camera pipeline running and storing images. Use at least a 10s exposure, and possibly up to 60s if appropriate to get good observations for later WCS-solving. Allow the ACQ camera to run throughout the 3x360s VIRUS dither pattern.
    214   * Run [wiki:HetProcedures/RA/virus#remedy ''Remedy''] on TACC for this VIRUS observation.
    215      * After logging in to //wrangler//, commands will be something like:
    216 {{{
    217 idev -N 1 -m 60 -p hadoop
    218 python3 /work/03730/gregz/maverick/Remedy/quick_reduction.py 20201024 10 57 /work/03730/gregz/maverick/output/20200801_20200901.h5 -nd 8 -fp /work/03730/gregz/maverick/fplaneall.txt -nD -qs > log_20201024_10_57.txt 2>&1
    219 }}}
     221
    220222     * will produce a line like the following, with WCS coordinates/rotation of IHMP
    221223{{{
    222224log_20201024_10_57.txt:[INFO - 2020-10-27 12:38:32,264] 20201024_0000010 Astrometry: 24.247720 1.10992 58.17
    223225}}}
     226  * Stack the first 6 minutes of ACQ camera images (or work with them individually)
    224227  * Plate-solve the ACQ camera images (use [[http://astrometry.net]] or your own method)
    225   * Using the WCS on the ACQ images, look at which pixel the IHMP (from Remedy) lands on, and what the angle is.
    226      * If necessary, update acm origin and angles in fplane file
     228  * Using the WCS-solved ACQ image(s), check which pixel the IHMP coordinates (RA, Dec from Remedy) lands on. In {{{shuffle.cfg}}} the **acam_x_origin** and **acam_y_origin** values should match that pixel.
     229  * Remedy also produces the rotation angle.
     230  * If necessary, update acm origin and angles in fplane file
    227231
    228232