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.

Attribute "FWHM"?

See original GitHub issue

I have realized that Fittable1DModel and Fittable2DModel (including Gaussian and Moffat) has no attribute of FWHM, while quite many of them actually need it for astronomical purposes.

A built-in function astropy.stats.gaussian_sigma_to_fwhm can be used only for Gaussian, while we need much more functions’ FWHM values in practice.

I guess it will be very useful if we have something like attribute to calculate FWHM.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:14 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
ndencommented, May 7, 2017

I suggest we take a minimal approach because it can easily get complicated. For all models for which this makes sense, have a getter property fwhm which computes fwhm from stddev. fwhm is not going to be a settable property and not allowed in __init__.

1reaction
bsipoczcommented, May 10, 2017

@ysBach - We usually keep issues open until the fixes are merged. In most cases the merge will auto-close them.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Full width at half maximum - Wikipedia
In a distribution, full width at half maximum (FWHM) is the difference between the two values of the independent variable at which the...
Read more >
Definition of full width at half maximum (FWHM) bandwidth for ...
The FWHM area is represented by the width in the shaded region between the points on the curve where the amplitude has dropped...
Read more >
Explain to me, what is FWHM? - Beginning Deep Sky Imaging
FWHM is the width of the bell at its midway point hence "half". ... their "FWHM" as say, less than 2" and attribute...
Read more >
Proving The Full Width At Half Maximum (FWHM ... - YouTube
In this video, I show the relationship between the full-width at half max of a Gaussian is 2.3548 times the standard deviation of...
Read more >
full-width half-maximum fwhm: Topics by Science.gov
Here, an enhancement in the luminescent property of tin-halide perovskite nanoplates (TPNPs) that are composed of strongly coupled layered structures with ...
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