Skip to content

Commit

Permalink
change import path for degraders (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
ztq1996 authored May 13, 2024
1 parent 3b0c88b commit 0f8818d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/LePhare_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 0f8818d

Please sign in to comment.