This is a simple script that
- platesolve a fits file using ASTAP
- produces a tsv file (vizierdb.txt) with all sources from Vizier around the RA-DEC coordinates of the image
- produces a tsv file (sourcesimage.txt) using Aperture PhotoMetry Tool with all sources within the image
usage: ./script.sh config.cfg
Several things must be installed:
- astropy (to read fits header)
- ASTAP
- vizquery (to do command line queries to CDS/Vizier)
- Aperture Photometry Tool
The config.cfg file contains the necessary information for the script to be run:
- Nom de l'objet (crée un repo du même nom pour y déposer les tsv)
- l'adresse du fits a traiter
- l'adresse du repo dans lequel le repo ayant le nom mentionné en 1) est créé
- l'adresse du repo de travail de APT
- l'adresse du soft vizquery
name=CometName
fitsadd=/home/johndoe/this_image.fit
wdir=/home/johndoe/WDir/
APThDir=/home/johndoe/.AperturePhotometryTool
vqadd=/home/johndoe/Programs/cdsclient/cdsclient-4.07/vizquer