PSFMachine
PRF photometry with Kepler
Check out the documentation. Check out the paper
PSFMachine is an open source Python tool for creating models of instrument effective Point Spread Functions (ePSFs), a.k.a Pixel Response Functions (PRFs). These models are then used to fit a scene in a stack of astronomical images. PSFMachine is able to quickly derive photometry from stacks of Kepler images and separate crowded sources.
Installation
pip install psfmachine
Example use
Below is an example script that shows how to use PSFMachine. Depending on the speed or your computer fitting this sort of model will probably take ~10 minutes to build 200 light curves. You can speed this up by changing some of the input parameters.
import psfmachine as psf
import lightkurve as lk
tpfs = lk.search_targetpixelfile('Kepler-16', mission='Kepler', quarter=12, radius=1000, limit=200, cadence='long').download_all(quality_bitmask=None)
machine = psf.TPFMachine.from_TPFs(tpfs, n_r_knots=10, n_phi_knots=12)
machine.fit_lightcurves()
Funding for this project is provided by NASA ROSES grant number 80NSSC20K0874.
Metadata
Release files for psfmachine 1.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| psfmachine-1.1.4.tar.gz | 67.1 kB | Without provenance | Details for psfmachine-1.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| psfmachine-1.1.4-py3-none-any.whl | Python 3 | none | any | Details for psfmachine-1.1.4-py3-none-any.whl |
Total release size: 139.5 kB
Release files / psfmachine-1.1.4.tar.gz
| Download URL | psfmachine-1.1.4.tar.gz |
|---|---|
| Size | 67.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3f2ae98d3505cec053abdcf5f51728fe7a1ca0889ce769d32b9d8183402ce89
|
|
BLAKE2b-256 checksum How to use checksums |
d9571ade1267a5971da40c80f14ccedbaf90ac9e08f01ecbd0218a1ae7b033fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.8.6 Darwin/21.6.0
|
Release files / psfmachine-1.1.4-py3-none-any.whl
| Download URL | psfmachine-1.1.4-py3-none-any.whl |
|---|---|
| Size | 72.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f45f316929c9f2dbc4aae9b5f4e9554f5fdee7ceef5f6f329d1b8e551ba29f18
|
|
BLAKE2b-256 checksum How to use checksums |
9e0d02917b15b699b3fcd11024501abaf91e398ecea75ca3d9927e1a30895daa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.8.6 Darwin/21.6.0
|
Security for psfmachine 1.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.