Python scripts to process photometry obtained on CCD QHY-174M
Based on:
- astropy
- photutils
- photometry errors are estimated with wfc3_photometry procedures (https://github.com/spacetelescope/wfc3_photometry)
- astroquery
Detailed documentation can be found here
- Virtual environment should be created and all requirements installed. Run scripts from this ENV in the future.
OR (Windows option):
- Add ccd_phot directory path to system environment, so you can use scripts right from command line if all requirements all satisfied.
- Mark satellite on first FITS frame (Add OBJX and OBJY keywords in header). If object is not marked script will try to find it (with DAOFind func) as brightest object on the frame.
- Prepare
config_sat.iniin same directory where FITS files are located. Config can be namad in other way, but must match the maskconfig_satSOMETHING.ini - Start
sat_phot.pywith path to FITS files as parameter (sat_phot.py .ORsat_phot.py c:\test) - Make resulting plots
ccd_plot.py path\\to\\result_file.phX - Done :)
usage: sat_phot.py [-h] [-c CONFIG] [-s_file START_FILE] path
positional arguments:
path Path to fits files. REQUIRED!
options:
-h, --help show this help message and exit
-c CONFIG, --config CONFIG Specify config file
-s_file START_FILE, --start_file START_FILE
Specify file to start from