Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create plot routine for extractor feets.extractors.ext_flux_percentile_ratio.FluxPercentileRatioMid20 #39

Open
leliel12 opened this issue Jan 21, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@leliel12
Copy link
Contributor

Create plot routine for extractor FluxPercentileRatioMid20.

Path: feets.extractors.ext_flux_percentile_ratio.py

Features

  • FluxPercentileRatioMid20

Extractor Documentation

In order to caracterize the sorted magnitudes distribution we use percentiles. If F5, 95 is the difference between 95% and 5% magnitude values, we calculate the following:

  • flux_percentile_ratio_mid20: ratio F40, 60/F5, 95
  • flux_percentile_ratio_mid35: ratio F32.5, 67.5/F5, 95
  • flux_percentile_ratio_mid50: ratio F25, 75/F5, 95
  • flux_percentile_ratio_mid65: ratio F17.5, 82.5/F5, 95
  • flux_percentile_ratio_mid80: ratio F10, 90/F5, 95

For the first feature for example, in the case of a normal distribution, this is equivalente to calculate:

$$\frac{erf^{-1}(2 \cdot 0.6-1)-erf^{-1}(2 \cdot 0.4-1)} {erf^{-1}(2 \cdot 0.95-1)-erf^{-1}(2 \cdot 0.05-1)}$$

So, the expected values for each of the flux percentile features are:

  • flux_percentile_ratio_mid20 = 0.154
  • flux_percentile_ratio_mid35 = 0.275
  • flux_percentile_ratio_mid50 = 0.410
  • flux_percentile_ratio_mid65 = 0.568
  • flux_percentile_ratio_mid80 = 0.779

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants