Warp catalogues and images to remove the distorting affect of the ionosphere.
Project description
da_fits_warp
Aim: Warp catalogues and images to remove the distorting affect of the ionosphere. This version uses Dask arrays to handle code parallelisation.
Authors: Natasha Hurley-Walker, Paul Hancock, Tim Galvin
Usage
usage: da_fits_warp [-h] [--xm XM] [--infits INFITS] [--suffix SUFFIX] [--ra1 RA1] [--dec1 DEC1] [--ra2 RA2] [--dec2 DEC2] [--plot] [-c CORES] [--overlap-factor OVERLAP_FACTOR]
[--testimage] [--smooth SMOOTH] [--signal SIGCOL] [--noise NOISECOL] [--SNR SNR] [--nsrcs NSRCS] [--enforce-min-srcs ENFORCE_MIN_SRCS] [-v] [--incat INCAT]
[--refcat REFCAT] [--xmcat XM] [--corrected CORRECTED] [--cite]
options:
-h, --help show this help message and exit
Warping input/output files:
--xm XM A .fits binary or VO table. The crossmatch between the reference and source catalogue.
--infits INFITS The fits image(s) to be corrected; enclose in quotes for globbing.
--suffix SUFFIX The suffix to append to rename the output (corrected) fits image(s); e.g., specifying "warp" will result in an image like image_warp.fits (no default; if not
supplied, no correction will be performed).
catalog column names:
--ra1 RA1 The column name for ra (degrees) for source catalogue.
--dec1 DEC1 The column name for dec (degrees) for source catalogue.
--ra2 RA2 The column name for ra (degrees) for reference catalogue.
--dec2 DEC2 The column name for dec (degrees) for reference catalogue.
Other:
--plot Plot the offsets and models (default = False)
-c CORES, --cores CORES
Number of cores to instruct dask to use throughout processing
--overlap-factor OVERLAP_FACTOR
Factor mulptipled against size of fastest moving image axis to determine the number of pixels from neighbouring sub-blocks to include in image interpolation. To
small and artefacts can be introduced.
--testimage Generate pixel-by-pixel delta_x, delta_y, and divergence maps (default = False)
--smooth SMOOTH Smoothness parameter to give to the radial basis function (default = 300 pix)
--signal SIGCOL Column from which to get the signal for a signal-to-noise cut (e.g. peak_flux) (no default; if not supplied, cut will not be performed
--noise NOISECOL Column from which to get the noise for a signal-to-noise cut (e.g. local_rms) (no default; if not supplied, cut will not be performed
--SNR SNR Signal-to-noise ratio for a signal-to-noise cut (default = 10)
--nsrcs NSRCS Maximum number of sources used when constructing the distortion model. Default behaviour will use all available matches.
--enforce-min-srcs ENFORCE_MIN_SRCS
An exception is raised if there are fewer than this many cross-matched sources located in the internal cross-match procedure.
-v, --verbose Provide extra logging throughout the procedure
Crossmatching input/output files:
--incat INCAT Input catalogue to be warped.
--refcat REFCAT Input catalogue to be warped.
--xmcat XM Output cross match catalogue
--corrected CORRECTED
Output corrected version of input catalogue
Information:
--cite Print citation in BibTeX format.
Bugs/Questions
Please use the GitHub issue tracker to submit bug reports, feature requests, or questions.
Credit
If you use fits_warp in your work please Cite Hurley-Walker and Hancock 2018.
This da_fits_warp is an update to the original fits_warp implementation, with the most major change being the use of dask to handle parallelism.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file da_fits_warp-2.1.2.tar.gz.
File metadata
- Download URL: da_fits_warp-2.1.2.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aabaadf2a2e14bb674ecb5e988a79c00d4ddff558529e7c15f96ff09425943de
|
|
| MD5 |
6fcf536ba8a8b64ca9b27ac90cf6e17a
|
|
| BLAKE2b-256 |
85674626db24f9ece849757338e37116e59bb2ad2394b2495ef9041f20a35419
|
File details
Details for the file da_fits_warp-2.1.2-py3-none-any.whl.
File metadata
- Download URL: da_fits_warp-2.1.2-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
def3f1521f72d2e0dac44ab543d3e3cd121e8f8b4da8043f8b1cad5bd2d3041e
|
|
| MD5 |
73444b34f7472293b380dadd9c2dd435
|
|
| BLAKE2b-256 |
fb6ed321adbc94014384fc21c0f29e034a932557438c085678c2d22f7c4d045b
|