Skip to content

Commit feb6584

Browse files
Fully switch to nifty (#793)
1 parent 86d829d commit feb6584

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@ def plot_variable_star(
12521252
if int(nterms_base) == 1 and int(nterms_band) == 1:
12531253
sb_method = "fastnifty"
12541254
else:
1255-
sb_method = "auto"
1255+
sb_method = "fastnifty_chi2"
12561256

12571257
frequency, power = model.autopower(
12581258
method="fast",

apps/varstars/cards.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def card_explanation_variable():
3333
- Number of base terms: number of frequency terms to use for the base model common to all bands (default=1)
3434
- Number of band terms: number of frequency terms to use for the residuals between the base model and each individual band (default=1)
3535
36-
The fit is using a multiband periodogram to find the best period. For default configuration (`nterms=1`), the backend is [nifty-ls](https://github.com/flatironinstitute/nifty-ls), a very fast Lomb-Scargle periodogram, otherwise we use the default [astropy](https://docs.astropy.org/en/stable/timeseries/lombscarglemb.html) implementation.
36+
The fit is using a multiband periodogram to find the best period. The backend is [nifty-ls](https://github.com/flatironinstitute/nifty-ls), a very fast Lomb-Scargle periodogram.
3737
3838
By default, the period is searched between 0.1 and 1.2 days. You can change the bounds, or even manually set the period in days. Below the plot you will see the fitted period, and the reduced $\chi^2$ for the fit (closer to 1 is better).
3939
"""

0 commit comments

Comments
 (0)