feets icon indicating copy to clipboard operation
feets copied to clipboard

Create plot routine for extractor ``feets.extractors.ext_con.Con``

Open leliel12 opened this issue 5 years ago • 0 comments

Create plot routine for extractor Con.

Path: feets.extractors.ext_con.py

Features

  • Con

Extractor Documentation

Con

Index introduced for the selection of variable stars from the OGLE database (Wozniak 2000). To calculate Con, we count the number of three consecutive data points that are brighter or fainter than 2σ and normalize the number by N − 2.

For a normal distribution and by considering just one star, Con should take values close to 0.045:

>>> fs = feets.FeatureSpace(only=['Con'])
>>> features, values = fs.extract(**lc_normal)
>>> dict(zip(features, values))
{'Con': 0.0476}

References

leliel12 avatar Jan 21 '20 20:01 leliel12