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_rcs.RCS #38

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

Create plot routine for extractor feets.extractors.ext_rcs.RCS #38

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

Comments

@leliel12
Copy link
Contributor

Create plot routine for extractor RCS.

Path: feets.extractors.ext_rcs.py

Features

  • Rcs

Extractor Documentation

Rcs - Range of cumulative sum (Rc**s)

Rc**s is the range of a cumulative sum (Ellaway 1978) of each light-curve and is defined as:

$$R_{cs} = max(S) - min(S) \\\ S = \frac{1}{N \sigma} \sum_{i=1}^l (m_i - \bar{m})$$

where max(min) is the maximum (minimum) value of S and l = 1, 2, …, N.

Rc**s should take a value close to zero for any symmetric distribution:

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

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