Extract FWHM estimate from psf_model?
See original GitHub issueThe DAOPhotPSFPhotometry description says:
aperture_radius : float The radius (in units of pixels) used to compute initial estimates for the fluxes of sources. If None, one FWHM will be used if it can be determined from the
psf_model
.
Does this mean that one could extract the estimated FWHM for all sources in an image from psf_model
? If so, how would that work?
(Is this the right place to be asking these questions? Should I start making them somewhere else?)
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Home · PSFModels.jl - JuliaAstro
The FWHM is a consistent scale parameter for the models. That means a gaussian with a FWHM of 5 will be visually similar...
Read more >PSF Photometry (photutils.psf)
The first step is to estimate the sky background. For this task, photutils provides several classes to compute scalar and 2D backgrounds, see...
Read more >How to calculate FWHM in origin - YouTube
fwhminorigin #calculatefwhminorigin #sayphysics0:00 calculating fwhm for xrd peaks using origin1:00 calculating fwhm in origin2:30 how to ...
Read more >Fast Point Spread Function Modeling with Deep Learning - arXiv
We extract the most important features of the SDSS sample via principal ... ye(θ) is a vector of input parameters for our PSF...
Read more >DynamicPSF - PixInsight Reference Documentation
Gaussian function, σx = 2σy, θ = 45°. Full Width at Half Maximum (FWHM). For all PSF model functions DynamicPSF computes two additional...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To clarify/update on this last comment: this functionality overlaps with #464 - @mirca’s #427 got merged without this because we wanted it in soon, but indeed it should be possible to fit
sigma
as you say here.@Gabriel-p - The one caveat is that you almost never want to do this. For most PSF models, the scale parameter is known to become biased when S/N is very low. So the typical PSF workflow is that you derive the PSF model from bright stars, assuming that the PSF shape is independent of the star’s flux (because it’s all the same optics…), rather than independently fitting the shape for every star. So the current “primary” workflow planned is that you first produce a psf model (there will be functions/classes to do this down the road, but they’re not ready yet), and then you use that model with all the parameters except for the centers/flux fixed.
That said, there is a slightly different use case that this machinery is also meant for: model-fitting photometry. That is, maybe your field has some stars and some galaxies, and for the galaxies you want a more flexible model that accounts for shape. In that case you certainly do want this functionality (hence #464)
@Gabriel-p
sigma
could be left as a parameter to be fitted. However, the results on the fittedsigma
wouldn’t show up in the output table ofDAOPhotPSFPhotometry
because the output table is hardwired to contain only the centroids and fluxes. I might change this behavior in #427