question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement getting of uncertanties in PSF photometry

See original GitHub issue

I see that the get_uncertainties() method for DAOPhotPSFPhotometry currently raises a NotImplementedError.

What’s the ETA on this?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
hamogucommented, Feb 15, 2018

@typpo I don’t think there is a “typical” uncertainty. That depends a lot on what you are observing and what instrument you use. E.g. an object observed in an older, 1 m telescope with hardware that needs more love and software that was written by a grad-student in IDL long ago and has never been upgraded, might give you 50% error, while the same star observed with HST might have 1 % errors. But then again, if you are using HST anyway, you are probably not looking at bright stars but super ultra-faint galaxies at high redshifts - and those will be so faint that your errors are larger again.

Are your sources faint compared to the background? In that case there is not that much you can do. Do you allow many free parameters (e.g. size of the PSF variable over the field or a complext background shape)? Try reducing the number of free parameters, e.g. try a simpler background model, fix the size of the PSF if it’s the same in every image, …

I still find the DAOPhot manual by Peter Stetson a insightful, if not easy, introduction. Ignore the software part (since you are using astropy), but read the general discussion that is interspersed.

1reaction
larrybradleycommented, Apr 4, 2017

@Gabriel-p There is an open PR (#516) that will hopefully be merged soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flux-Uncertainty from Aperture Photometry - Caltech
We derive a general formula for the noise variance in the flux of a source estimated from aperture photometry. The 1-σ uncertainty is...
Read more >
-The median uncertainties of PSF photometry (black solid) and ...
Figure 5, we compare the median uncertainties of PSF photometry and our aperture photometry on differ- ence images as a function of g...
Read more >
Point-spread Function Photometry for Impatient Astronomers
Our method is fast to compute and fully accounts for uncertainties from degeneracies due to crowded fields. We name the method described in...
Read more >
BasicPSFPhotometry — photutils 1.6.0 - Read the Docs
This class implements a PSF photometry algorithm that can find sources in an image ... Uncertainties on the fitted parameters are reported as...
Read more >
Photometric Techniques II - Eso.org
Data analysis, errors, completeness ... should be not used for calibration neither for the PSF. ... use for the subsequent fitting operations.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found