image_astrometry()
#
- curvit.image_astrometry(UV_image=None, threshold=3, API_key='ujmrvwqqyelxmzcj')#
Carry out astrometry on a UVIT image using Astrometry.net.
- Parameters:
UV_image (file path) – The name of the UVIT FITS image.
threshold (float, optional) – The threshold parameter associated with the source detection method. The default value is 3.
API_key (string, optional) – The Astrometry.net API key. Ideally, you should get your API key from Astrometry.net and use it.
Warning
Astrometry should be successful on most fields. However, failures found during tests on some crowded fields. Please try changing the source detection threshold in such cases.
Note
Please also cite Astrometry.net and Astroquery if you are using this function.
Example
>>> import curvit >>> curvit.image_astrometry('test.fits')