# 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.
Raw data
{
"_id": null,
"home_page": "",
"name": "epsf-generator",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "epsf,astrophotography,psf",
"author": "Zhen Huang",
"author_email": "hzvictor@zju.edu.cn",
"download_url": "",
"platform": null,
"description": "# ePSF Generator\n\nThis 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.\n\n\n## Usage\n\nTo run the script, use the following command:\n\n```\nepsf_generator [-h] -i IMAGE [-n NUMBER] [-f FWHM] [-s SIZE] -o OUTPUT\n```\n\n## Required Arguments\n\n\n`-i` or `--image`: path to FITS image\n\n`-o` or `--output`: path to output ePSF FITS file\n\n\n## Optional Arguments\n\n\n`-n` or `--number`: maximum number of stars to use for ePSF model (default is 100)\n\n`-f` or `--fwhm`: FWHM (full-width at half-maximum) of stars in pixels (default is 5.0)\n\n`-s` or `--size`: size of cutout in pixels around detected stars (default is 25)\n\n`-h` or `--help`: show help message and exit\n\n\n## Example\n\nCreate an ePSF from an input FITS image and save it as a FITS file:\n\n```\nepsf_generator -i input.fits -o output.fits\n```\nThis will generate an ePSF from the input.fits image with default parameters and save it as output.fits.\n",
"bugtrack_url": null,
"license": "BSD 3-Clause License",
"summary": "A tiny script generating ePSF for deep sky image",
"version": "1.0.0",
"split_keywords": [
"epsf",
"astrophotography",
"psf"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8292ac507f2c97cf1fd7d529a080a5e603b2dcb161de950dd2884c4bccba8a50",
"md5": "f64b8062bae04aea6772c1029356446f",
"sha256": "a2a52d75085c99a8db979e7c37e6cde444ff558ec994cb8ae112016db28e9c5a"
},
"downloads": -1,
"filename": "epsf_generator-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f64b8062bae04aea6772c1029356446f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4253,
"upload_time": "2023-04-14T12:04:04",
"upload_time_iso_8601": "2023-04-14T12:04:04.176816Z",
"url": "https://files.pythonhosted.org/packages/82/92/ac507f2c97cf1fd7d529a080a5e603b2dcb161de950dd2884c4bccba8a50/epsf_generator-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-14 12:04:04",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "epsf-generator"
}