=== Specifications ===
*'''Camera''': [[Media:Andor iKon-M 934 Specifications.pdf|Andor DU934P]] deep depletion camera, 1024 × 1024 CCD, 13 μm pixels([[Media:Mookodi iKon test.pdf|CCD performance test sheet]])
*'''Spectral range:''' 400.5 – 799.5 nm <ref name="spec">Preliminary values based on lab tests at LJMU or original spec. Actual values to be confirmed during commissioning.</ref>
*'''Spectral resolution:'''
*::160µm slit
*:::R = 172 @4671.23 Å
*'''Plate scale:''' 0.6 588 arcsec/px ± 0.06 arcsec/px <ref name="spec" />*'''Field of view:''' 10.07' × 10.07'
*'''Slit:''' Long slit with narrow (80µm, 2") and wide (160µm, 4") sections.
<!--*: 8.4' × 2 arcsec
*Spectroscopy
*Low-cadence imaging: the camera is not a frame transfer camera, and in normal operation exposures are readout after the closure of an iris shutter. The shutter is life-cycle limited and not suitable for high-cadence observations.
*High-cadence imaging: it is possible to deactivate the shutter and take continues short exposure but users should be aware that the camera is not a frame transfer camera and this mode will result in some readout smearing. There is currently also no GPS triggering of the exposures and that the times time recorded in the header (Keyword = DATE-OBS, note: is the start of the exposure) is obtained from the CPU time that is NTP synched. However, the header time is the start of the exposure and has been measured to be accurate within at least 100ms of exact time (see [[Mookodi time-stamp tests|here TODO]]). '''NB. High cadence observing (e.g. multiple continues exposures with exposure times < 60sec) SHOULD NOT be done with the shutter on AUTO mode. It is very important to set the shutter to "ALWAYS OPEN" which will deactivate the shutter in the open state but flush the CCD before the start of each new exposure. Failure to do so will likely cause serious damage to the camera's shutter''' == Data Reduction Pipelines ===== Spectroscopy === The python-based data reduction pipeline ASPIRED ([https://arxiv.org/pdf/2012.03505.pdf M. C. Lam et. al.]) developed for Mookodi's sister-instrument SPRAT is compatible and recommended for Mookodi spectroscopic data. General installation and usage instruction can be found [https://aspired.readthedocs.io/en/latest/index.html# here]. More specific Mookodi installation and usage instructions (see included README), with example code and data, can be downloaded [[Media:Mookodi ASPIRED example.zip|here]]. === Photometry ===Differential photometry can be extracted from Mookodi data using a new "SAAO version", TEA-Phot-SAAO, which is a modified TEA-Phot pipeline developed by Dominic Bowman and Daniel Holdsworth ([https://arxiv.org/pdf/1907.04421.pdf D. M. Bowman et. al]) ==== Installation Instructions ===='''NB. If you use the TEA-Phot-SAAO code to produce results for a scientific publication, we ask that you please adhere to the citation requests of the developers that are on the main repository page (link below).''' *These instructions should be identical for a Linux or Mac environment and Python 3.7 or a later version is recommended.*TEA-Phot-SAAO can be directly downloaded from [https://bitbucket.org/saao/tea-phot-saao here] or the repository can quickly be cloned through the following command in the terminal: git clone https://bitbucket.org/saao/tea-phot-saao.git* TEA-Phot-SAAO requires only four additional Python modules. To install (if not already) run the following command in the terminal: pip install numpy matplotlib sep astropy NB. you may need to use "pip3" if you haven't linked your pip to python 3.6+ ==== Usage Instructions ==== * To reduce and extract photometry from Mookodi data using TEA-phot-SAAO, in the terminal navigate to the folder that contains the '''TEA-Phot.py''' file.* To display basic usage and optional arguments run: python TEA-Phot.py -hNB. you may need to use "python3" if you haven't linked your python to python 3.6+* A typical example to reduce and extract photomery from Mookodi data would be something like this: python TEA-Phot.py SAAO Mookodi MKD --bias MKD --flat MKD --image_dir /full/path/to/science/fits/files/ --bias_dir /full/path/to/bias/fits/files/ --flat_dir /full/path/to/flat/fits/files/ --out_dir /full/path/to/chosen/output/directory/ --do_plot True --source_sigma 1.5NB. you may need to use "python3" if you haven't linked your python to python 3.6+* Wait for window to appear and select target and comparison star with mouse-clicks.* Follow further prompts from the pipeline for inputs (aperture size etc.) in the terminal. Note: TEA-phot will NOT do bias and flat field corrections if not BOTH flat AND bias files are supplied.
== Operating Mookodi ==
#*'''Binning:''' Options are 1×1, 2×2, 3×3, and 4×4.
#*'''Gain:''' High (faint objects), medium, and low (bright objects)
#*'''Rate (readout rate):''' Fast (5 MHz) - read-noise of 13.6 electrons, and slow (0.05 MHz) - read-noise of 3.3 electrons (see Andor spec sheet link at the top of page)
#*'''Image Type:''' This has no physical effect on the instrument configuration and only populates a header keyword with the selection (possibly useful for automated data reduction)
#*'''Instrument Mode:''' This has no physical effect on the instrument configuration and only populates a header keyword with the selection (possibly useful for automated data reduction)
#*TIPS: TODO.
''Note: It is advisable that DARK frames should be taken with the shutter in the "ALWAYS CLOSED" mode. BIAS frames (especially if multiple frames are taken) SHOULD ALWAYS be taken with the shutter in the "ALWAYS CLOSED" mode since this will deactivate the iris-shutter in the closed state and prolong the lifetime, see also [[#Suitable_Uses|high cadence imaging]] in the Suitable uses section at the top of this page. == Data Access ==
From a terminal window:
scp mookodiobserver@mookodi.suth.saao.ac.za:/data/lesedi/mkd/yyyy/mmdd/* .<local path to copy to> Password: Same as username shown above with "Saao" prefixed.
Where <code>yyyy</code> is the year, <code>mm</code> is the month, and <code>dd</code> is the day. The convention is that the data rolls over to the current date at 1200 UTC, hence all the files from a given night are stored in the folder corresponding to the date at the start of the night. e.g. All observations started on the night of 2021/12/11 will be stored in <code>/data/lesedi/mkd/2021/1211/</code>.