Changes

Jump to: navigation, search

Mookodi

2,709 bytes added, 10:38, 13 February 2023
/* Operating Mookodi */
=== Spectroscopy ===
The python-based data reduction pipline 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 -h
NB. 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.5
NB. 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>.
315
edits