Skip to content

Commit

Permalink
Show exposures with large coordinate offsets between nextVisit and bu…
Browse files Browse the repository at this point in the history
…tler

This makes it more obvious to spot mismatch between nextVisit
messages' coordinates versus what butler knows from the headers.
  • Loading branch information
hsinfang committed Jun 28, 2024
1 parent df4b94d commit dbf07be
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions prompt-processing/groups.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -323,25 +323,24 @@
"metadata": {},
"outputs": [],
"source": [
"if level < 20:\n",
" display(\n",
" df_md[\n",
" [\n",
" \"seq_num\",\n",
" \"position0\",\n",
" \"tracking_ra\",\n",
" \"offset_ra\",\n",
" \"position1\",\n",
" \"tracking_dec\",\n",
" \"offset_dec\",\n",
" \"cameraAngle\",\n",
" \"sky_angle\",\n",
" \"offset_ang\",\n",
" \"physical_filter\",\n",
" \"id\",\n",
" ]\n",
"display(\n",
" df_md[(abs(df_md[\"offset_ra\"]) > 0.1) | (abs(df_md[\"offset_dec\"]) > 0.1)][\n",
" [\n",
" \"seq_num\",\n",
" \"position0\",\n",
" \"tracking_ra\",\n",
" \"offset_ra\",\n",
" \"position1\",\n",
" \"tracking_dec\",\n",
" \"offset_dec\",\n",
" \"cameraAngle\",\n",
" \"sky_angle\",\n",
" \"offset_ang\",\n",
" \"physical_filter\",\n",
" \"id\",\n",
" ]\n",
" )"
" ]\n",
")"
]
},
{
Expand Down

0 comments on commit dbf07be

Please sign in to comment.