------------------------------------------------------ 0 Choose a test case ------------------------------------------------------ 1 Calculate the slit offset. tables/201128_1_slitoffset.txt wr_1_slitoffset, datestr, seqno, object, airmass, slitoffset, slitoffset_override count = rd_1_slitoffset(datestr, seqno, object, airmass, slitoffset, slitoffset_override) Date SEQ Object Airmass SlitOffset-calc SlitOffset-override 201128 0033 HD7983 1.5118 2.2666651 3.0679472 201128 0034 HD7983 1.5079 2.2428556 3.0679472 [ ] Take datestr, seqno, and return the slitoffset_override? ------------------------------------------------------ 2 Find the nod patterns _2_nodpatterns tables/201128_2_shortlog.txt wr_2_shortlog, datestr, sets, nset nset = rd_2_shortlog(datestr, sets, nocal=nocal) Set Date Seq N Object ITime CoAdd NumFS RotPosn RotMode TargName ObsType TargRA TargDec ... 005 201128 0033 16 HD7983 5.000 1 1 -54.000 position_angle HD7983 Object 01:18:59.99 -08:56:22.2 006 201128 0049 4 ERIS 300.000 1 16 -42.000 position_angle eris_28 0620 Object 01:43:29.05 -01:46:42.1 tables/201128_2_position_.txt wr_2_position, datestr, set n = rd_2_position(fn, setno, seqno, object, beam_override) # set number 5 HD7983 5.000 seconds num OBJECT PATTERN : i / N XOFFSET,YOFFSET EAST, NORTH, D POSITION OVERRIDE 33 HD7983 NONE : 4 / 1 0.000, 0.000 -0.136, 0.250, 0.285 CENTER CENTER ------------------------------------------------------ 3 Make the profiles of the unsubtracted images for the purpose of identifying the skies for each target do_3_profile **TO DO NEXT** use rd_2_position ***************** tables/201128_3_skies.txt # set number 5 HD7983 5.000 seconds set num OBJECT POSITION SkyNum Override 005 33 HD7983 CENTER 037,038,39.40.45,46,47,48