From ba4c76fba59accb9b919052cadff5f7ddcf67cd7 Mon Sep 17 00:00:00 2001 From: Eric Neilsen Date: Fri, 22 Mar 2024 13:54:37 -0700 Subject: [PATCH] enable map --- prenight/prenight.ipynb | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/prenight/prenight.ipynb b/prenight/prenight.ipynb index 1d6ee35..af4d764 100644 --- a/prenight/prenight.ipynb +++ b/prenight/prenight.ipynb @@ -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, @@ -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)" ] }, { @@ -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",