From 7bed0cc17089ff6f73030b40b5fceecf49341a5d Mon Sep 17 00:00:00 2001 From: Tianqing Zhang Date: Mon, 13 May 2024 15:48:20 -0400 Subject: [PATCH] change import path for degraders --- examples/LePhare_demo.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/LePhare_demo.ipynb b/examples/LePhare_demo.ipynb index dc72fb4..95b6b73 100644 --- a/examples/LePhare_demo.ipynb +++ b/examples/LePhare_demo.ipynb @@ -25,7 +25,7 @@ "\n", "**Creation** \n", "\n", - "Note that in the parlance of the Creation Module, \"degradation\" is any post-processing that occurs to the \"true\" sample generated by the create Engine. This can include adding photometric errors, applying quality cuts, introducing systematic biases, etc. \n", + "Note that in the parlance of the Creation Module, \"degraders\" is any post-processing that occurs to the \"true\" sample generated by the create Engine. This can include adding photometric errors, applying quality cuts, introducing systematic biases, etc. \n", "\n", "In this notebook, we will draw both test and training samples from a RAIL Engine object. Then we will demonstrate how to use RAIL degraders to apply effects to those samples.\n", "\n", @@ -77,12 +77,12 @@ "source": [ "# Various rail modules\n", "import rail\n", - "from rail.creation.degradation.lsst_error_model import LSSTErrorModel\n", - "from rail.creation.degradation.spectroscopic_degraders import (\n", + "from rail.creation.degraders.lsst_error_model import LSSTErrorModel\n", + "from rail.creation.degraders.spectroscopic_degraders import (\n", " InvRedshiftIncompleteness,\n", " LineConfusion,\n", ")\n", - "from rail.creation.degradation.quantityCut import QuantityCut\n", + "from rail.creation.degraders.quantityCut import QuantityCut\n", "from rail.creation.engines.flowEngine import FlowModeler, FlowCreator, FlowPosterior\n", "from rail.core.data import TableHandle\n", "from rail.core.stage import RailStage\n",