Difference between revisions of "TEA-phot"
From SAAO TOPS Wiki
(→"How-to" Instructions and Tips) |
(→"How-to" Instructions and Tips) |
||
Line 13: | Line 13: | ||
(NB: TEA-phot currently only supports SHOC data (incl. flats and bias files) in a cube format) | (NB: TEA-phot currently only supports SHOC data (incl. flats and bias files) in a cube format) | ||
− | * To reduce and extract photometry from SHOC using TEA-phot, in the terminal navigate to the folder that contains the 'TEA-Phot.py' file. | + | * To reduce and extract photometry from SHOC using TEA-phot, in the terminal navigate to the folder that contains the '''TEA-Phot.py''' file. |
− | * To display basic usage and | + | * To display basic usage and optional arguments run: |
python3 TEA-Phot.py -h | python3 TEA-Phot.py -h | ||
+ | * A typical example to reduce and extarct photomery from SHOC data would be something like this: | ||
+ | python3 TEA-Phot.py SAAO SHOC name_of_data_cube.fits --flat SHD_20200617.0004.fits --flat_dir ./files/flat/ --image_dir ./files/data/ --out_dir ./results_1m/ --do_plot True --source_sigma 2.0 |
Revision as of 12:59, 6 August 2020
Installation Instructions
(These instructions should be identical for a Linux or Mac environment and a minimum system requirement is Python 3.7 or later)
- TEA-Phot can be directly downloaded from here or the repository can quickly be cloned through the following command in the terminal:
git clone https://bitbucket.org/DominicBowman/tea-phot.git
Note: If you use the TEA-Phot code to produce results for a scientific publication, we ask you to please adhere to the citation requests of the developers that are on their main repository page (link above).
- TEA-Phot requires only four additional Python modules. To install (if not already) run the following command in the terminal:
pip3 install numpy matplotlib sep astropy
"How-to" Instructions and Tips
(NB: TEA-phot currently only supports SHOC data (incl. flats and bias files) in a cube format)
- To reduce and extract photometry from SHOC using TEA-phot, in the terminal navigate to the folder that contains the TEA-Phot.py file.
- To display basic usage and optional arguments run:
python3 TEA-Phot.py -h
- A typical example to reduce and extarct photomery from SHOC data would be something like this:
python3 TEA-Phot.py SAAO SHOC name_of_data_cube.fits --flat SHD_20200617.0004.fits --flat_dir ./files/flat/ --image_dir ./files/data/ --out_dir ./results_1m/ --do_plot True --source_sigma 2.0