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

Use ED error estimates, Power law fit with xmin #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

spencerw
Copy link

@spencerw spencerw commented Aug 8, 2020

Added three new features to the code:

  • The FFD function can now accept an array of luminosities, for constructing FFDs with multiple stars
  • The FFD function can now accept equivalent duration error estimates, so you don't have to estimate the x errors with the flare durations and flux error.
  • Added a new function 'FFD_powerlaw', which fits a powerlaw to the FFD data. It can also automatically find xmin by minimizing the KS distance between the model and the trimmed data (following the description in Clauset et al. 2007

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

Successfully merging this pull request may close these issues.

None yet

1 participant