Skip to content

Commit

Permalink
Update tutorial_niriss-soss.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
radicamc committed Aug 15, 2024
1 parent b906758 commit 7701f0f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/content/notebooks/tutorial_niriss-soss.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1149,16 +1149,17 @@
"metadata": {},
"outputs": [],
"source": [
"step = stage2.TracingStep(results, deepframe=deepframe, output_dir=outdir_s2)\n",
"\n",
"# Specify generate_order0_mask=True and pass the f277w exposure as well as the pixel masks to \n",
"# add the positions of contaminats to the pixel masks. \n",
"# Pass calculate_stability=True to do the principal component analysis.\n",
"# generate_lc=True will produce the order 1 white light curve estimate. \n",
"# generate_lc=True will produce the order 1 white light curve estimate.\n",
"\n",
"step = stage2.TracingStep(results, deepframe=deepframe, generate_order0_mask=True, f277w=f277w, \n",
" calculate_stability=True, generate_lc=True, baseline_ints=[150, -100], \n",
" output_dir=outdir_s2) \n",
"\n",
"step_results = step.run(pixel_flags=pixel_masks, generate_order0_mask=True, f277w=f277w, \n",
" calculate_stability=True, save_results=True, force_redo=True, \n",
" generate_lc=True, baseline_ints=[150, -100], do_plot=True)\n",
"step_results = step.run(pixel_flags=pixel_masks, save_results=True, force_redo=True, \n",
" do_plot=True)\n",
"centroids = step_results[0]"
]
},
Expand Down

0 comments on commit 7701f0f

Please sign in to comment.