Taking calibration data¶
Calibration data can be taken manually by commanding the individual components. For example, we would start by pointing all the telescopes to the flat field screen
Then we can turn of the argon lamp
And finally expose the spectrographs
gort
provides some tools to simplify this procedure and define and run long calibration sequences requiring minimal human supervision. To launch a standard calibration sequence
See calibrate
for details. Pre-defined calibration sequences are defined in the configuration file under recipes.calibration.sequences
. Alternatively one can pass calibrate
a dictionary with the calibration sequence details; such dictionary must match the model defined below.
An example of a very simple calibration sequence would be
which would take one bias, two darks with 90 and 900 second exposures, and then warm up the quartz lamp for 20 seconds before taking a 120 second flat exposure. Additional lamps can be added with the same format and multiple exposures can be taken for each lamp. Calibrations are always taken in order of bias, darks, then lamps.
In some cases one may want a series of fibres in the spectrophotometric mask to be exposed during a single exposure. We can define that with
which will rotate the fibre mask to expose each fibre whose name begins with P1-
for 10 seconds each, starting with P1-2
. "positions"
can also be a explicit list of fibre mask positions. It’s possible to use the fibre selector with default parameters by setting "fibsel": True
In this case two LDLS exposures will be take with 270 and 300 second exposures, each one iterating over the default fibre mask positions.
Schema¶
type |
object |
|||||
properties |
||||||
|
Arcs and lamps to take. Must be the name of the lamp outlet in the NPS. |
|||||
type |
object |
|||||
patternProperties |
||||||
|
type |
object |
||||
properties |
||||||
|
The warm-up time for the lamp in seconds. |
|||||
type |
number |
|||||
|
oneOf |
List of exposure times for the lamp. |
||||
type |
array |
|||||
items |
type |
number |
||||
Exposure time for the lamp. |
||||||
type |
number |
|||||
|
How to label this exposure type. |
|||||
type |
string |
|||||
enum |
arc, flat |
|||||
|
oneOf |
If defined, moves the fibre selector during the exposure. |
||||
type |
object |
|||||
properties |
||||||
|
Initial fibre to expose. |
|||||
type |
string |
|||||
|
||||||
|
How long to expose on each position/fibre. |
|||||
type |
number |
|||||
Moves the fibre selector using default values. |
||||||
type |
boolean |
|||||
additionalProperties |
False |
|||||
|
Properties of the biases to take. |
|||||
type |
object |
|||||
properties |
||||||
|
How many biases to take. |
|||||
type |
integer |
|||||
|
Properties of the darks to take. |
|||||
type |
object |
|||||
properties |
||||||
|
How many darks to take of each exposure time. |
|||||
type |
integer |
|||||
|
oneOf |
List of exposure times for darks. |
||||
type |
array |
|||||
items |
type |
number |
||||
Exposure time for the lamp. |
||||||
type |
number |
|||||
additionalProperties |
False |