Skip to content

Commit

Permalink
Fix name and a couple bugs in transit model notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
mwcraig committed Dec 1, 2024
1 parent 0ca7260 commit a7030a3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .jp_app_launcher_stellarphot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

- title: Initial exoplanet model
description: Do an initial fit to a transit
source: ../stellarphot/tess-intial-model-fit.ipynb
source: ../stellarphot/tess-initial-model-fit.ipynb
icon: ../stellarphot/stellarphot-logo.svg
cwd: not_used
type: notebook
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,16 @@
"### Get just the target star and some information about it"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"if np.isnan(inp_photometry['bjd']).all():\n",
" inp_photometry.add_bjd_col()\n"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -198,7 +208,7 @@
"binned2 = aggregate_downsample(ts2, time_bin_size=model_options.bin_size * u.min, aggregate_func=add_quad)\n",
"\n",
"binned[\"normalized_flux_error\"] = binned2[\"normalized_flux_error\"]\n",
"# binned_time = BinnedTimeSeries(photometry['bjd'], time_bin_start=first_time, time_bin_end=last_time, time_bin_size=bin_size)"
"binned = binned[~np.isnan(binned[\"normalized_flux\"])]"
]
},
{
Expand Down Expand Up @@ -389,7 +399,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.8"
"version": "3.11.9"
}
},
"nbformat": 4,
Expand Down

0 comments on commit a7030a3

Please sign in to comment.