dracoPhot¶
- class dorado.dracoPhot(limit_Mag=16, search_bounds=[30, 30])[source] [edit on github]¶
Bases:
object
Methods Summary
apPhot
(cr, filter, toid[, search, read_date])apPhot performs basic aperture photometry based on photutils.aperture_photometry on a target within stack.
differential_magnitude
(flux1, flux2, mag2)Probably could use target class inputs and uncertainties
getWCS
(cr, filter[, alignto, cache])getWCS obtains WCS information for an image either via previously solved data in the cache or by passing the image to astrometryNet via dorado.plate_solve().
get_field
(cr, filter, toid)get_stars
(cr, filter, toid, search, read_date)imarith
(cr, filter, operator, operand)imarith is a basic replication of the IRAF image arithmatic tool imarith. Parameters ---------- cr: string The relevent name string of Ceres instance to perform image arithmatic on. filter: str String representation of the relevent filter. operator: string String of operator to be used for arithmatic. Supported operations are '+', '-', '/', and '*'.
inIm
(tab, cr, filter[, border])match_star
(star, s3)starSeeker
(cr, filter)star_chart
(stars, im, toid, w)Methods Documentation
- apPhot(cr, filter, toid, search=True, read_date=None)[source] [edit on github]¶
apPhot performs basic aperture photometry based on photutils.aperture_photometry on a target within stack. Target photometry can optionally be compared to a control target within the stack via the differential photometry method.
- Parameters:
- cr: string
The relevent name string of Ceres instance to perform aperture photometry on.
- filter: str
String representation of the relevent filter.
- toid: string
- differential_magnitude(flux1, flux2, mag2)[source] [edit on github]¶
Probably could use target class inputs and uncertainties
- getWCS(cr, filter, alignto=None, cache=True)[source] [edit on github]¶
getWCS obtains WCS information for an image either via previously solved data in the cache or by passing the image to astrometryNet via dorado.plate_solve().
- Parameters:
- cr: string
The relevent name string of Ceres instance to get WCS information for.
- filter: str
String representation of the relevent filter.
- alignto: int
Index of image to use as reference. Default is stack.alignto
- cache: boolean
Controls whether to call astrometryNet for solve or use solved result stored in cache from previous run. Default is True.
- get_field(cr, filter, toid)[source] [edit on github]¶
- get_stars(cr, filter, toid, search, read_date)[source] [edit on github]¶
- imarith(cr, filter, operator, operand)[source] [edit on github]¶
imarith is a basic replication of the IRAF image arithmatic tool imarith. Parameters ———- cr: string
The relevent name string of Ceres instance to perform image arithmatic on.
- filter: str
String representation of the relevent filter.
- operator: string
String of operator to be used for arithmatic. Supported operations are ‘+’, ‘-’, ‘/’, and ‘*’
- inIm(tab, cr, filter, border=0)[source] [edit on github]¶
- match_star(star, s3)[source] [edit on github]¶
- starSeeker(cr, filter)[source] [edit on github]¶
- star_chart(stars, im, toid, w)[source] [edit on github]¶