psfmachine

Tool kit for doing PSF photometry

https://github.com/ssdatalab/psfmachine

Science Score: 77.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    1 of 5 committers (20.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.3%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Tool kit for doing PSF photometry

Basic Info
  • Host: GitHub
  • Owner: SSDataLab
  • License: mit
  • Language: Python
  • Default Branch: master
  • Size: 55.8 MB
Statistics
  • Stars: 19
  • Watchers: 1
  • Forks: 5
  • Open Issues: 11
  • Releases: 3
Created over 5 years ago · Last pushed about 2 years ago
Metadata Files
Readme Changelog License Citation

README.md

PSFMachine

PRF photometry with Kepler

Test status pypi 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 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.

python 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.

Owner

  • Name: Space Science Data Lab
  • Login: SSDataLab
  • Kind: organization
  • Email: christina.l.hedges@nasa.gov
  • Location: NASA Ames

Space Science Data Lab at NASA Ames

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Hedges"
  given-names: "Christina"
  orcid: "https://orcid.org/0000-0002-3385-8391"
- family-names: "Martinez-Palomera"
  given-names: "Jorge"
  orcid: "https://orcid.org/0000-0002-7395-4935"
title: "PSF Machine"
version: 1.0.0
doi: 10.5281/zenodo.4784073
date-released: 2021-04-24
url: "https://github.com/SSDataLab/psfmachine"
preferred-citation:
  type: article
  authors:
  - family-names: "Hedges"
    given-names: "Christina"
    orcid: "https://orcid.org/0000-0002-3385-8391"
  - family-names: "Luger"
    given-names: "Rodrigo"
    orcid: "https://orcid.org/0000-0002-0296-3826"
  - family-names: "Martinez-Palomera"
    given-names: "Jorge"
    orcid: "https://orcid.org/0000-0002-7395-4935"
  - family-names: "Dotson"
    given-names: "Jessie"
    orcid: "https://orcid.org/0000-0003-4206-5649"
  - family-names: "Barentsen"
    given-names: "Geert"
    orcid: "https://orcid.org/0000-0002-3306-3484"
  doi: "10.3847/1538-3881/ac0825"
  url: "https://doi.org/10.3847/1538-3881/ac0825"
  journal: "The Astronomical Journal"
  month: 10
  title: "Linearized Field Deblending: Point-spread Function Photometry for Impatient Astronomers"
  issue: 3
  volume: 162
  year: 2021

GitHub Events

Total
  • Issues event: 1
  • Watch event: 3
Last Year
  • Issues event: 1
  • Watch event: 3

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 257
  • Total Committers: 5
  • Avg Commits per committer: 51.4
  • Development Distribution Score (DDS): 0.327
Top Committers
Name Email Commits
Jorge j****a@u****l 173
Christina Hedges c****s@n****v 39
Jorge Martínez-Palomera j****a@u****m 30
Christina ch@C****l 8
Christina Hedges 1****s@u****m 7
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 21
  • Total pull requests: 56
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 30 days
  • Total issue authors: 3
  • Total pull request authors: 2
  • Average comments per issue: 0.67
  • Average comments per pull request: 1.16
  • Merged pull requests: 47
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jorgemarpa (11)
  • christinahedges (9)
  • jabienias (1)
Pull Request Authors
  • jorgemarpa (41)
  • christinahedges (15)
Top Labels
Issue Labels
bug (10) enhancement (4) future (1) documentation (1) good first issue (1)
Pull Request Labels
enhancement (19) bug (6) fix (2) ready-to-merge (1) do-not-merge (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 34 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 4
  • Total maintainers: 2
pypi.org: psfmachine

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

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 34 Last month
Rankings
Dependent packages count: 10.1%
Forks count: 15.4%
Stargazers count: 15.6%
Dependent repos count: 21.6%
Average: 26.5%
Downloads: 70.0%
Maintainers (2)
Last synced: 8 months ago

Dependencies

poetry.lock pypi
  • 164 dependencies
pyproject.toml pypi
  • black ^20.8b1 develop
  • exoplanet ^0.4.4 develop
  • flake8 ^3.8.1 develop
  • ipywidgets ^7.6.3 develop
  • jupyterlab ^2.2.2 develop
  • line-profiler ^3.0.2 develop
  • memory-profiler ^0.58.0 develop
  • mkdocs ^1.1.2 develop
  • mkdocs-jupyter ^0.17.3 develop
  • mkdocs-material ^7.0.6 develop
  • mkdocstrings ^0.15.0 develop
  • pytest ^6.1.2 develop
  • pytkdocs ^0.11.0 develop
  • astropy ^4.2
  • corner ^2.1.0
  • diskcache ^5.3.0
  • fbpca ^1.0
  • fitsio ^1.1.3
  • imageio ^2.9.0
  • imageio-ffmpeg ^0.4.5
  • jedi 0.17.2
  • kbackground ^0.1.7
  • lightkurve ^2.0.4
  • matplotlib ^3.3.3
  • numpy ^1.19.4
  • pandas ^1.1
  • patsy ^0.5.1
  • photutils ^1.1.0
  • pyia ^1.2
  • python ^3.7.1
  • scipy ^1.5.4
  • tqdm ^4.54.0
.github/workflows/black.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/flake8.yml actions
  • actions/checkout v1 composite
  • actions/setup-python v1 composite
.github/workflows/pytest.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite