Skip to main content

PSF model fitting

Project description

rms-psfmodel

GitHub release; latest by date GitHub Release Date Test Status Documentation Status Code coverage
PyPI - Version PyPI - Format PyPI - Downloads PyPI - Python Version
GitHub commits since latest release GitHub commit activity GitHub last commit
Number of GitHub open issues Number of GitHub closed issues Number of GitHub open pull requests Number of GitHub closed pull requests
GitHub License Number of GitHub stars GitHub forks DOI

Introduction

psfmodel provides abstract and concrete classes for modeling point spread functions (PSFs) and fitting them to image data. It includes an analytic 2-D Gaussian PSF with optional rotation, pixel integration, motion smearing, and background polynomial fitting, plus helpers for astrometric position estimation via bounded optimization.

psfmodel is a product of the PDS Ring-Moon Systems Node.

Installation

The psfmodel module is available via the rms-psfmodel package on PyPI and can be installed with:

pip install rms-psfmodel

Getting Started

Details of each class are available in the module documentation.

After installation, an optional Tkinter-based PSF explorer is available as the psf_gui command (or python -m psf_gui with src on PYTHONPATH). A working Tcl/Tk installation is required (for example, install the python3-tk package on Debian/Ubuntu).

A characterization tool that systematically measures Gaussian PSF fitting accuracy across a wide parameter space is available in the repository. Clone the repo, install with pip install -e ".[characterize]", and run it with python -m characterize_gauss_fit.

Contributing

Information on contributing to this package can be found in the Contributing Guide.

Links

Licensing

This code is licensed under the Apache License v2.0.

Project details


Download files

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

Source Distribution

rms_psfmodel-1.0.1.tar.gz (7.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rms_psfmodel-1.0.1-py3-none-any.whl (102.2 kB view details)

Uploaded Python 3

File details

Details for the file rms_psfmodel-1.0.1.tar.gz.

File metadata

  • Download URL: rms_psfmodel-1.0.1.tar.gz
  • Upload date:
  • Size: 7.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rms_psfmodel-1.0.1.tar.gz
Algorithm Hash digest
SHA256 de6630934317e4ed7139d230b9d156626325450346a4ea7eff803ca1132853d4
MD5 fa46b1664fde6f5cb94c116795fb6f9f
BLAKE2b-256 c5864a31bb0cdd5e2450a9167b951b0fc6ef7b5ae38950974a3fff0704ce6a7f

See more details on using hashes here.

File details

Details for the file rms_psfmodel-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: rms_psfmodel-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 102.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rms_psfmodel-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 436a63c505d485969f98e255cddd4d8c366de7d229eaeaca82112e656bb9abdc
MD5 4f25a5b5d4c3dfd0070183b50e0841d6
BLAKE2b-256 3e455f997c69396012ddd4622a24240ad1594d05a8ed0ad7b49b219bdc5ffb15

See more details on using hashes here.

Supported by

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