Issue with Longslit Flats

23 views
Skip to first unread message

J. Sebastian Pineda

unread,
Aug 19, 2014, 8:13:31 PM8/19/14
to mosfi...@googlegroups.com
Hello,

There seems to be an error in the way the Flat routine handles longslit
data. When calibrating a longslit mask with MOSFIRE, it usually sets up
the longslit to run the whole length of the CSU, so it comprises 46 CSU
slits, even though the actual longslit observations usually only use a
small (3-5) portion near the center. When the calibration flats are
processed to create a pixelflat the script only worked properly for the
bottom half of the detector.

The Flat.py routine treats the longslits differently and instead of
starting at the top of the frame (like with the masks), it starts in the
middle. As originally intended this might have been okay if there was
more than a single longslit across the whole frame but in this case the
code stops after only working on the lower half of the detector.

I fixed this by commenting out the lines that treat the longslit flat
differently (lines 588 and 589 in Flats.py)

"if bs.long_slit:
y = 1104"


This only matters for the regular Longslit driver if you decide to use
"use_flat=True" in Longslit.go() -- the standard Longslit driver file
does not use this setting.


-Sebastian



--
J. Sebastian Pineda
Cahill Center for Astronomy and Astrophysics
California Institute of Technology
1200 California Blvd. MC 249-17
Pasadena CA, 91125

Office: (626) 395-6857

Reply all
Reply to author
Forward
0 new messages