Skip to content

Commit

Permalink
Merge pull request #157 from LSSTDESC/tqz/fix_golden_spike
Browse files Browse the repository at this point in the history
fix lsst error model import path
  • Loading branch information
ztq1996 authored Aug 9, 2024
2 parents c22b723 + 5eba13e commit 29d5a04
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/core_examples/Build_Save_Load_Run_Pipeline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"from rail.core.stage import RailStage\n",
"from rail.creation.degraders.spectroscopic_degraders import LineConfusion\n",
"from rail.creation.degraders.quantityCut import QuantityCut\n",
"from rail.creation.degraders.lsst_error_model import LSSTErrorModel\n",
"from rail.creation.degraders.photometric_errors import LSSTErrorModel\n",
"from rail.creation.engines.flowEngine import FlowCreator, FlowPosterior\n",
"from rail.core.data import TableHandle\n",
"from rail.core.stage import RailStage\n",
Expand Down
2 changes: 1 addition & 1 deletion examples/core_examples/pipe_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ stages:
aliases:
output: output_flow_engine_test
- classname: LSSTErrorModel
module_name: rail.creation.degraders.lsst_error_model
module_name: rail.creation.degraders.photometric_errors
name: lsst_error_model_test
nprocess: 1
aliases:
Expand Down
4 changes: 2 additions & 2 deletions examples/creation_examples/degradation-demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
" InvRedshiftIncompleteness,\n",
" LineConfusion,\n",
")\n",
"from rail.creation.degraders.lsst_error_model import LSSTErrorModel\n",
"from rail.creation.degraders.photometric_errors import LSSTErrorModel\n",
"from rail.creation.degraders.quantityCut import QuantityCut\n",
"from rail.core.stage import RailStage\n"
]
Expand Down Expand Up @@ -523,7 +523,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.10.0"
},
"vscode": {
"interpreter": {
Expand Down
4 changes: 2 additions & 2 deletions examples/creation_examples/photometric_realization_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"import matplotlib.pyplot as plt\n",
"from pzflow.examples import get_example_flow\n",
"from rail.creation.engines.flowEngine import FlowCreator\n",
"from rail.creation.degraders.lsst_error_model import LSSTErrorModel\n",
"from rail.creation.degraders.photometric_errors import LSSTErrorModel\n",
"from rail.core.stage import RailStage\n"
]
},
Expand Down Expand Up @@ -353,7 +353,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.10.0"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
Expand Down
2 changes: 1 addition & 1 deletion examples/creation_examples/posterior-demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"import pandas as pd\n",
"from pzflow.examples import get_example_flow\n",
"from rail.creation.engines.flowEngine import FlowCreator, FlowPosterior\n",
"from rail.creation.degraders.lsst_error_model import LSSTErrorModel\n",
"from rail.creation.degraders.photometric_errors import LSSTErrorModel\n",
"from rail.creation.degraders.quantityCut import QuantityCut\n",
"from rail.creation.degraders.spectroscopic_degraders import (\n",
" InvRedshiftIncompleteness,\n",
Expand Down
2 changes: 1 addition & 1 deletion examples/goldenspike_examples/goldenspike.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"source": [
"# Various rail modules\n",
"import rail\n",
"from rail.creation.degraders.lsst_error_model import LSSTErrorModel\n",
"from rail.creation.degraders.photometric_errors import LSSTErrorModel\n",
"from rail.creation.degraders.spectroscopic_degraders import (\n",
" InvRedshiftIncompleteness,\n",
" LineConfusion,\n",
Expand Down
4 changes: 2 additions & 2 deletions examples/goldenspike_examples/goldenspike.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ stages:
name: flow_creator_train
nprocess: 1
- classname: LSSTErrorModel
module_name: rail.creation.degraders.lsst_error_model
module_name: rail.creation.degraders.photometric_errors
name: lsst_error_model_train
nprocess: 1
- classname: InvRedshiftIncompleteness
Expand Down Expand Up @@ -46,7 +46,7 @@ stages:
name: flow_creator_test
nprocess: 1
- classname: LSSTErrorModel
module_name: rail.creation.degraders.lsst_error_model
module_name: rail.creation.degraders.photometric_errors
name: lsst_error_model_test
nprocess: 1
- classname: ColumnMapper
Expand Down

0 comments on commit 29d5a04

Please sign in to comment.