From 7a7474fc7199d5bf0b60c6632265e98b4e44284d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Mon, 26 Aug 2024 18:32:45 -0700 Subject: [PATCH] MAINT: fix kernel names --- light_curves/ML_AGNzoo.md | 6 +++--- light_curves/light_curve_classifier.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/light_curves/ML_AGNzoo.md b/light_curves/ML_AGNzoo.md index 80d2584f..ad1240e4 100644 --- a/light_curves/ML_AGNzoo.md +++ b/light_curves/ML_AGNzoo.md @@ -8,7 +8,7 @@ jupytext: kernelspec: display_name: root * language: python - name: conda-root-py + name: python3 --- # AGN Zoo: Comparison of AGN selected with different metrics @@ -166,7 +166,7 @@ for (_, band), times in df_lc.reset_index().groupby(["objectid", "band"]).time: cadence[band].append(len(times)) if times.max() - times.min() > 0: timerange[band].append(np.round(times.max() - times.min(), 1)) - + plt.figure(figsize=(20,4)) plt.title(r'Time range and cadence covered in each in each waveband averaged over this sample:') for el in cadence.keys(): @@ -572,7 +572,7 @@ for index, f in enumerate(fzr): if label not in labc: labc[label] = [] # Initialize the list for this label if it's not already in labc labc[label].append(index) # Append the current index to the list of indices for this label - + sm = sompy.SOMFactory.build(data, mapsize=[msz0,msz1], mapshape='planar', lattice='rect', initialization='pca') sm.train(n_job=4, shared_memory = 'no') ``` diff --git a/light_curves/light_curve_classifier.md b/light_curves/light_curve_classifier.md index fbb3fe85..1ade2c78 100644 --- a/light_curves/light_curve_classifier.md +++ b/light_curves/light_curve_classifier.md @@ -8,7 +8,7 @@ jupytext: kernelspec: display_name: science_demo language: python - name: conda-env-science_demo-py + name: python3 --- # Light Curve Classifier