Skip to content

Commit

Permalink
Rename cmds to cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
hugobuddel committed Jul 20, 2023
1 parent 7f51e76 commit 04bcde2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions MICADO/docs/example_notebooks/MICADO_line_lists.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@
"metadata": {},
"outputs": [],
"source": [
"cmds = sim.UserCommands(use_instrument=\"MICADO\", set_modes=[\"SCAO\", \"SPEC_3000x50\"])\n",
"cmds[\"!OBS.dit\"] = 3600\n",
"cmds[\"!OBS.filter_name_fw1\"] = \"Spec_HK\" # Spec_IJ, Spec_HK\n",
"cmds[\"!OBS.filter_name_fw2\"] = \"open\"\n",
"cmd = sim.UserCommands(use_instrument=\"MICADO\", set_modes=[\"SCAO\", \"SPEC_3000x50\"])\n",
"cmd[\"!OBS.dit\"] = 3600\n",
"cmd[\"!OBS.filter_name_fw1\"] = \"Spec_HK\" # Spec_IJ, Spec_HK\n",
"cmd[\"!OBS.filter_name_fw2\"] = \"open\"\n",
"\n",
"# Uncomment the following line if you prefer a faster but less accurate simulation:\n",
"# cmd[\"!SIM.spectral.spectral_bin_width\"] = 5e-4\n",
"\n",
"micado = sim.OpticalTrain(cmds)\n",
"micado = sim.OpticalTrain(cmd)\n",
"\n",
"# Set to False to test if everything is working, then flip to True\n",
"USE_FULL_DETECTOR = False\n",
Expand Down

0 comments on commit 04bcde2

Please sign in to comment.