From 5eac655a5a3a5f8b14d0dc2194bf16cb41c5bc2e Mon Sep 17 00:00:00 2001 From: kartikmandar Date: Tue, 20 Feb 2024 19:22:32 +0530 Subject: [PATCH 1/2] analyze_lc_chunks uses the parameter segment_size instead of chunk_length --- Lightcurve/Lightcurve tutorial.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lightcurve/Lightcurve tutorial.ipynb b/Lightcurve/Lightcurve tutorial.ipynb index ba1c60b..2388512 100644 --- a/Lightcurve/Lightcurve tutorial.ipynb +++ b/Lightcurve/Lightcurve tutorial.ipynb @@ -1770,7 +1770,7 @@ "metadata": {}, "outputs": [], "source": [ - "start_times, stop_times, lc_sums = lc.analyze_lc_chunks(chunk_length = 10.0, func=np.median)" + "start_times, stop_times, lc_sums = lc.analyze_lc_chunks(segment_size = 10.0, func=np.median)" ] }, { @@ -1820,7 +1820,7 @@ "metadata": {}, "outputs": [], "source": [ - "start_times, stop_times, lc_result = lc.analyze_lc_chunks(chunk_length=10.0, func=myfunc)" + "start_times, stop_times, lc_result = lc.analyze_lc_chunks(segment_size=10.0, func=myfunc)" ] }, { From 93e02e7632c33131146ba459f88320eff46b6347 Mon Sep 17 00:00:00 2001 From: kartikmandar Date: Tue, 20 Feb 2024 19:30:23 +0530 Subject: [PATCH 2/2] A healthy reminder to install lightcurve package to avoid errors. --- Lightcurve/Lightcurve tutorial.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lightcurve/Lightcurve tutorial.ipynb b/Lightcurve/Lightcurve tutorial.ipynb index 2388512..51b91aa 100644 --- a/Lightcurve/Lightcurve tutorial.ipynb +++ b/Lightcurve/Lightcurve tutorial.ipynb @@ -1850,7 +1850,7 @@ "source": [ "## Compatibility with `Lightkurve`\n", "\n", - "The [`Lightkurve` package](https://docs.lightkurve.org) provides a large amount of complementary functionality to stingray, in particular for data observed with Kepler and TESS, stars and exoplanets, and unevenly sampled data. We have implemented a conversion method that converts to/from `stingray`'s native `Lightcurve` object and `Lightkurve`'s native `LightCurve` object. Equivalent functionality exists in `Lightkurve`, too. " + "The [`Lightkurve` package](https://docs.lightkurve.org) provides a large amount of complementary functionality to stingray, in particular for data observed with Kepler and TESS, stars and exoplanets, and unevenly sampled data. We have implemented a conversion method that converts to/from `stingray`'s native `Lightcurve` object and `Lightkurve`'s native `LightCurve` object. Equivalent functionality exists in `Lightkurve`, too. The users who have not installed Lightkurve package should do so first by running *pip install lightkurve* in their terminal and then following with the next command." ] }, {