rosalia.utils
Functions
|
|
|
Einsum version of the angular separation function by Astropy einsum_angular_distance_harversine v1: October 17, 2024 - Fastest version compared against numba, or astropy. |
|
|
|
|
|
|
|
|
|
Produce a circular histogram of angles on ax. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Downloads the file described as an url address. |
|
|
|
|
|
Executes a shell command line. |
|
exposure_inspector: Inspects and returns critical information about the contents of an exposure telescope. :param input_name: Exposure file to be inspected. It can be a string with the name of the file, a list of files, or a pattern with *. :type input_name: str, list :return: Exposure identity - A dictionary with critical information about the exposure, including pointing (right ascension and declination), position angle, telescope, instrument, detector, filter, and a WCS (Astropy and GWCS). :rtype: dict, pd.DataFrame. |
|
|
|
|
|
Inspects and returns critical information about the contents of a telescope exposure, stored as a FITS or ADSF file. |
|
|
|
Returns the maximum angular extension of an image. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Opens a fits file and returns the data and wcs at a certain extension. |
|
|
|
|
|
|
|
Estimates the new coordinates (ra2, dec2) after moving an angular distance theta (radial direction) in the phi direction (0 deg, North, counterclockwise) along a Great Circle from the Equator (ra=0, dec=0) Adapted from Great Circle navigation: https://en.wikipedia.org/wiki/Great-circle_navigation |
|
This program converts a resolution in degrees to the nside parameter of healpix. |
|
This program interpolates the value of a FITS file at the location of the input coordinates (ra, dec). |
|
Load a python object using pickle. |
|
|
|
|
|
|
|
Measure the limiting magnitude of an image given the sky background level, the instrument, filter, telescope and exposure time. |
|
|
|
Einsum version of the position angle function by Astropy einsum_angular_distance_harversine v1: October 17, 2024 |
|
|
|
|
|
|
|
|
|
|
|
run_swarp: This program runs SWARP on the input pattern of files, and generates a mosaic with the output name specified in outname. The pattern can be a string with the name of the file, a list of files, or a pattern with *. The output mosaic will be saved as outname, and if scale is different from 1, a scaled version of the mosaic will be saved as outname with the suffix "_scaled.fits". . |
|
Save a python object using pickle. |
|
|
|
Einsum version of the angular separation function by Astropy einsum_angular_distance_harversine v1: October 17, 2024 - Fastest version compared against numba, or astropy. |
|
A faster separation calculator than astropy solution. |
|
|
|
|
|