Skip to content

Commit

Permalink
enable map
Browse files Browse the repository at this point in the history
  • Loading branch information
ehneilsen committed Mar 22, 2024
1 parent a23e4bc commit ba4c76f
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions prenight/prenight.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -241,20 +241,6 @@
"## Simulated visits"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "2cd0ccca-abdb-4357-9bd8-8483735ca2fd",
"metadata": {},
"outputs": [],
"source": [
"visits0 = schedview.collect.read_opsim(sim_rp, constraint=f\"FLOOR(observationStartMJD-0.5)={day_obs_mjd}\")\n",
"visits0 = schedview.compute.visits.add_day_obs(visits0)\n",
"visits0 = schedview.compute.visits.add_maf_metric(visits0, maf.TeffMetric(), 'teff')\n",
"visits0 = schedview.compute.visits.add_coords_tuple(visits0)\n",
"visits0 = schedview.compute.visits.add_overhead(visits0)"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -274,8 +260,7 @@
" maf.stackers.OverheadStacker()\n",
" ] \n",
")\n",
"visits = schedview.compute.visits.add_coords_tuple(visits)\n",
"visits.head()"
"visits = schedview.compute.visits.add_coords_tuple(visits)"
]
},
{
Expand Down Expand Up @@ -307,9 +292,11 @@
]
},
{
"cell_type": "raw",
"id": "cff8b05f-bc1e-4d6b-8cf1-7ce73c8e12e3",
"cell_type": "code",
"execution_count": null,
"id": "f3159b5c-0f12-48ba-84c6-a8d4cf92c1b4",
"metadata": {},
"outputs": [],
"source": [
"vmap, vmap_data = schedview.plot.visitmap.create_visit_skymaps(\n",
" visits=visits,\n",
Expand Down

0 comments on commit ba4c76f

Please sign in to comment.