Skip to content

Move periodogram modules stats to timeseries #8410

Closed

Description

@pllim
  1. Create astropy.timeseries
  2. Move periodogram modules over from astropy.stats (with backward compatibility for a time), which includes bls and LombScargle
  3. ???
  4. Profit!

Activity

  1. added this to the v3.2 milestone on Feb 8, 2019
  2. self-assigned this
    on Feb 8, 2019
  3. bsipocz commented on Feb 11, 2019

    @bsipocz
    Member

    @jakevdp, as well as others (especially from stats: @larrybradley @crawfordsm) - Do you have any thoughts on the namespace LombScargle should be available from one this refactoring is done?

    1. from astropy.timeseries import LombScarge
    2. from astropy.timeseries.periodograms import LombScargle
  4. larrybradley commented on Feb 11, 2019

    @larrybradley
    Member

    @bsipocz How about both (using __init__)? BTW, lombscarge and bts are both currently subpackages (not modules) under stats.

  5. bsipocz commented on Feb 11, 2019

    @bsipocz
    Member

    Honestly either way is fine by me, and only pushing to get a decision as then I can update the imports in the astroML textbook (so users don't get deprecation warnings for the new edition).

  6. larrybradley commented on Feb 11, 2019

    @larrybradley
    Member

    @jakevdp should chime in. I don't have a strong opinion.

  7. jakevdp commented on Feb 13, 2019

    @jakevdp
    Contributor

    Sounds fine either way. Are there plans to add more timeseries functionality? Would Bayesian Blocks go in the timeseries module as well?

  8. bsipocz commented on Feb 13, 2019

    @bsipocz
    Member

    The main part will be the TimeSeries class, and we plan to move the two periodograms. Not sure moving the bayesian blocks would make much sense, they are more generic stats tools then these.

  9. pllim commented on Apr 17, 2019

    @pllim
    MemberAuthor

    I think on Slack, @astrofrog said that he will work on this for 3.2 after #8540 is merged?

  10. assigned and unassigned on Apr 17, 2019
  11. astrofrog commented on Apr 17, 2019

    @astrofrog
    Member

    I'll try, I'll try...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions