Home | Trees | Indices | Help |
|
---|
|
Code to obtain WCS headers for FITS files using astrometry.net
Astrometry.net has oodles of configurable parameters. Some of them can be passed in via the solverParameters argument to getWCSFieldsFor, a dictionary with keys including:
(default: "index-*.fits", meaning all indices in your default index dir) The file names from anet's index directory you want to have used. glob patterns are expanded, but no recursion takes place.
This could be something like:
["index-4211.fits", "index-4210.fits", "index-4209.fits"]
for largeish images or:
["index-4203-\*.fits", "index-4202-*.fits"]
for small ones. You can also give absolute path names for custom indices that live, e.g., in your resource directory.
Classes | |
Error | |
NotSolved | |
ObjectNotFound | |
ShellCommandFailed |
Functions | |||
|
Variables | |
anetPath =
|
|
anetIndexPath =
|
|
solverBin =
|
|
sextractorBin =
|
|
PARAM_DEFAULTS =
|
|
__package__ =
|
Function Details |
returns a pyfits cardlist for the WCS fields on fName. solverParameters is a dictionary mapping solver keys to their values, sexScript is a script for SExtractor, and its presence means that SExtractor should be used for source extraction rather than what anet has built in. objectFilter is a function that is called with the name of the FITS with the extracted sources. It can remove or add sources to that file before astrometry.net tries to match. To see what solverParameters are avaliable, check the module docstring. |
Variables Details |
PARAM_DEFAULTS
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |