Skip to main content

A tiny script generating ePSF for deep sky image

Project description

ePSF Generator

This script generates an ePSF (effective Point Spread Function) from a FITS image by detecting stars, extracting cutouts, and building a PSF model. The output is saved as a FITS file.

Usage

To run the script, use the following command:

epsf_generator [-h] -i IMAGE [-n NUMBER] [-f FWHM] [-s SIZE] -o OUTPUT

Required Arguments

-i or --image: path to FITS image

-o or --output: path to output ePSF FITS file

Optional Arguments

-n or --number: maximum number of stars to use for ePSF model (default is 100)

-f or --fwhm: FWHM (full-width at half-maximum) of stars in pixels (default is 5.0)

-s or --size: size of cutout in pixels around detected stars (default is 25)

-h or --help: show help message and exit

Example

Create an ePSF from an input FITS image and save it as a FITS file:

epsf_generator -i input.fits -o output.fits

This will generate an ePSF from the input.fits image with default parameters and save it as output.fits.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

epsf_generator-1.0.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file epsf_generator-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for epsf_generator-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2a52d75085c99a8db979e7c37e6cde444ff558ec994cb8ae112016db28e9c5a
MD5 f64b8062bae04aea6772c1029356446f
BLAKE2b-256 8292ac507f2c97cf1fd7d529a080a5e603b2dcb161de950dd2884c4bccba8a50

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page