From 62037c227a0e293b46d0c49fcc4c58a60e61f775 Mon Sep 17 00:00:00 2001 From: dulude Date: Mon, 18 Sep 2023 11:35:23 -0400 Subject: [PATCH] rolled back test particles --- notebooks/composite_model_fitting/custom_models.py | 2 -- notebooks/composite_model_fitting/specfit_demo_3.ipynb | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/notebooks/composite_model_fitting/custom_models.py b/notebooks/composite_model_fitting/custom_models.py index f5673bab4..6aae7673c 100644 --- a/notebooks/composite_model_fitting/custom_models.py +++ b/notebooks/composite_model_fitting/custom_models.py @@ -138,5 +138,3 @@ def __init__(self, *args, **kwargs): alpha = args[2] super(powerlaw_2, self).__init__(amp, x0, alpha, **kwargs) - - diff --git a/notebooks/composite_model_fitting/specfit_demo_3.ipynb b/notebooks/composite_model_fitting/specfit_demo_3.ipynb index a2b9f52c1..9e5a20495 100644 --- a/notebooks/composite_model_fitting/specfit_demo_3.ipynb +++ b/notebooks/composite_model_fitting/specfit_demo_3.ipynb @@ -21,7 +21,7 @@ "\n", "In this example, we are fitting the complex continuum around Lyman-alpha in the spectrum of an active galaxy (NGC 5548). This involves a powerlaw, extinction, emission lines of various widths and absorption lines. Only certain regions of the spectrum (away from strong absorption lines) are fit. The model has some fixed and some free parameters, as well as parameters that are linked together. We are using the Astropy compound-model machinery to add fit all the components simultaneously. \n", "\n", - "The example makes only partial use of specutils. It reads the data into the Spectrum1D data structure. However, when we get to actually fitting the model, we are just grabbing the numpy arrays (without units, because that caused some errors).. \n", + "The example makes only partial use of specutils. It reads the data into the Spectrum1D data structure. However, when we get to actually fitting the model, we are just grabbing the numpy arrays (without units, because that caused some errors).\n", "\n", "#### Developer Notes\n", "Todo: \n",