Skip to content

Commit

Permalink
Merge pull request #176 from LSSTDESC/issue/175/add_dnf
Browse files Browse the repository at this point in the history
Add DNF example notebook addresses #175
  • Loading branch information
sschmidt23 authored Feb 7, 2025
2 parents 8a4351a + cf9fa58 commit 481aebf
Show file tree
Hide file tree
Showing 4 changed files with 488 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/creation_examples/example_SOMSpecSelector.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"source": [
"# SOMSpecSelector Demo\n",
"\n",
"Author: Sam Schmidt\n",
"**Author**: Sam Schmidt\n",
"\n",
"Last successfully run: Jan 7, 2025\n",
"**Last successfully run**: Feb 5, 2025\n",
"\n",
"This is a short demo of the use of the SOM-based degrader `SOMSpecSelector` that is designed to select a subset of an input galaxy sample via SOM classification such that they match the properties of a reference sample, e.g. to make mock spectroscopic selections for a training set. \n",
"\n",
Expand Down Expand Up @@ -302,9 +302,9 @@
"\n",
"#UNCOMMENT THESE LINES TO GRAB THE LARGER DATA FILES!\n",
"\n",
"#if not os.path.exists(training_file):\n",
"# os.system('curl -O https://portal.nersc.gov/cfs/lsst/PZ/romandesc_specdeep.tar')\n",
"#!tar -xvf romandesc_specdeep.tar"
"if not os.path.exists(training_file):\n",
" os.system('curl -O https://portal.nersc.gov/cfs/lsst/PZ/romandesc_specdeep.tar')\n",
"!tar -xvf romandesc_specdeep.tar"
]
},
{
Expand Down
Loading

0 comments on commit 481aebf

Please sign in to comment.