Skip to main content

Tool to perform fast PSF photometry of primary and background targets from Kepler/K2 Target Pixel Files

Project description

PSFMachine

PRF photometry with Kepler

Test status

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 git+https://github.com/SSDataLab/psfmachine.git

Example use

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.

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

psfmachine-0.1.0.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

psfmachine-0.1.0-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file psfmachine-0.1.0.tar.gz.

File metadata

  • Download URL: psfmachine-0.1.0.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.8.7 Darwin/20.3.0

File hashes

Hashes for psfmachine-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e14fc26b608bb31b904eedcd97e479cdbf8d15a38bceadda089797324ef9bd89
MD5 eb2ea51469c09e282b058ba6c98a7a28
BLAKE2b-256 dc9dc4fd494da40cc14ddba0ead629367ca9eb8a7297bdd01b35d1194360b6ce

See more details on using hashes here.

File details

Details for the file psfmachine-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: psfmachine-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.8.7 Darwin/20.3.0

File hashes

Hashes for psfmachine-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1889b415f1603aa3df4dbf910bcabee46dc5506b66579576e93c0474d03a0f45
MD5 fc4f8a44dc3188023d6fbb0654b2b1a3
BLAKE2b-256 b0d04051e1a06943fb6c465a9667f8b7a6700be506b5669615c771288bfd50d6

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