Repository navigation
Conversation
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
|
👋 Thank you for your draft pull request! Do you know that you can use |
|
See scipy/scipy#21277 (comment) – the new default behaviour is just reproducing what has already been implemented as |
|
Just a note that I'd like to get the opportunity to review and comment this over the weekend, so please do not merge right away. Thanks ! |
|
Maybe not for this PR which is focused on fixing failing tests, but moving forward it might be worth implementing astropy/astropy/timeseries/periodograms/lombscargle/implementations/main.py Lines 205 to 207 in fefc240 |
in lombscargle_scipy to preserve backward compatibility. Co-authored-by: Derek Homeier <[email protected]>
6c30116 to
986ca45
Compare
|
Re: #17163 (comment) @neutrinoceros , no worries! I'll leave it as draft for now. |
neutrinoceros
left a comment
There was a problem hiding this comment.
I think I'm caught up now, and it seems that we're now close to a consensus for reverting the backward incompatible change upstream. See
So, the present PR might actually become unnecessary; however I'd argue we should still take this patch in because it adds clarity of intention on our side, and gives upstream more leeway if they want to change the default value of this argument in the future (preferably over a proper deprecation cycle).
That said, I'd recommend to focus on upstream discussions for now, and come back to this PR once we've all reached a consensus (which seems to be in sight).
|
|
||
| # Note: scipy input accepts angular frequencies | ||
| p = signal.lombscargle(t, y, 2 * np.pi * frequency) | ||
| # floating_mean=True will fail tests due to https://github.com/scipy/scipy/pull/21277 |
There was a problem hiding this comment.
this comment might become confusing and unnecessary if floating_mean=True never becomes the default, as is the direction it's taking upstream. We'll probably want to amend or simply remove it.
|
As per #17170 (comment) , this is no longer needed. |
Description
This pull request is to make CI in devdep pass again due to scipy/scipy#21277, following suggestion in #17149 (comment) .
My main goal is to get rid of the failures so we can catch other failures during feature freeze frenzy, unless a better solution can be proposed very soon. Otherwise, I suggest we merge this first, and open follow-up issue to debate the actual science impact of upstream changes.
Fixes #17149