| 308 | * Documentation for the script is here: https://psuastro.github.io/HPF/HET-focalplane-fibre-calculation/ |
| 309 | |
| 310 | * There is another option for this determination which may be more precise although will take more time on sky. If you place a star on the cCFB (and likewise the sCFB) and take 3x360s VIRUS exposures, you can use the Remedy WCS solution and the known coordinates of the star to derive the cCFB (and sCFB) positions more accurately. |
| 311 | * In that case, you would use SJ's script called {{{wcs_fplane.py}}} for each measurement, which takes arguments: |
| 312 | {{{ |
| 313 | #arg 1 RA of IHMP center |
| 314 | #arg 2 Dec of IHMP center |
| 315 | #arg 3 angle of IHMP (all from remedy) |
| 316 | #arg 4 correction for differential atmospheric dispersion |
| 317 | #arg 5 RA of target star |
| 318 | #arg 6 Dec of target star |
| 319 | }}} |
| 320 | * the first three arguments come from the Remedy astrometry output. The differential atmospheric dispersion correction (VIRUS at 3500-5500A vs HPF at 9000A) is usually 0.6. The RA & Dec of the target star should be given in degrees. This is a typical run and output of the script: |
| 321 | {{{ |
| 322 | ./wcs_fplane.py 328.176676 24.86302 16.85 0.60 328.18504 24.847917 |
| 323 | fplane x,y=-59.955723273918565,-9.789848419618009 |
| 324 | }}} |
| 325 | * So you would run this {{{wcs_fplane.py}}} script on the cCFB+VIRUS observation and the sCFB+VIRUS observation. With those two fplane coordinates you would create a data file like this, {{{newdata.txt}}} |
| 326 | {{{ |
| 327 | ################################################################################ |
| 328 | #### Calculation of the fplane positions of HPF fibres based on VIRUS exposures YYYYMMDD |
| 329 | #### cCFB = -40.167, 9.921 and sCFB = -59.956, -9.790 |
| 330 | ################################################################################ |
| 331 | }}} |
| 332 | and then give that as an argument to Joe's script like: |
| 333 | {{{./CalculateHPFfiberpositions.py newfplane MeasuredCFBfplaneCoordsFile.txt}}} |
| 334 | and it will produce output including: |
| 335 | {{{ |
| 336 | syscmd -T 'Guider1_offset_fiducial(dx_asec=-9.59,dy_asec=-5.58,compensate="true")' |
| 337 | }}} |
| 338 | |
| 339 | |
| 340 | It wouldn't hurt to do both methods, the triangulation from BIB+LRS2-B+LRS2-R and the simultaneous VIRUS data. |
| 341 | |
| 342 | |
| 343 | [[br]] |
| 344 | |