diff --git a/docs/tutorials/abs_astrometry.ipynb b/docs/tutorials/abs_astrometry.ipynb index fd8219db..3dc8237e 100644 --- a/docs/tutorials/abs_astrometry.ipynb +++ b/docs/tutorials/abs_astrometry.ipynb @@ -83,19 +83,19 @@ ")\n", "\n", "raoffs = np.zeros(num_datapoints)\n", - "deoffs = np.zeros(num_datapoints)\n", + "decoffs = np.zeros(num_datapoints)\n", "for i in range(num_datapoints):\n", " my_data_coordinate = SkyCoord(datapoints[i], unit=(u.hourangle, u.deg))\n", "\n", " # take difference between reported Hipparcos position and convert to mas\n", - " raoff, deoff = hipparcos_coordinate.spherical_offsets_to(my_data_coordinate)\n", + " raoff, decoff = hipparcos_coordinate.spherical_offsets_to(my_data_coordinate)\n", "\n", " # n.b. orbitize! expects raw ra offsets, NOT multiplied by cos(delta0). Don't\n", " # multiply by cos(delta0) here.\n", " raoffs[i] = raoff.to(u.mas).value\n", - " deoffs[i] = deoff.to(u.mas).value\n", + " decoffs[i] = decoff.to(u.mas).value\n", "\n", - "print(raoffs, deoffs)" + "print(raoffs, decoffs)" ] }, { @@ -134,8 +134,8 @@ " epoch\n", " object\n", " raoff\n", - " deoff\n", - " deoff_err\n", + " decoff\n", + " decoff_err\n", " raoff_err\n", " \n", " \n", @@ -163,7 +163,7 @@ "" ], "text/plain": [ - " epoch object raoff deoff deoff_err raoff_err\n", + " epoch object raoff decoff decoff_err raoff_err\n", "0 58894.1644 0 377.813056 1044.819572 123.4 123.4\n", "1 58934.8270 0 1425.176093 933.702905 123.4 123.4" ] @@ -183,9 +183,9 @@ "df_orbitize[\"object\"] = 0\n", "\n", "df_orbitize[\"raoff\"] = raoffs\n", - "df_orbitize[\"deoff\"] = deoffs\n", + "df_orbitize[\"decoff\"] = decoffs\n", "\n", - "df_orbitize[\"deoff_err\"] = 123.4 # error on the declination measurement, in mas\n", + "df_orbitize[\"decoff_err\"] = 123.4 # error on the declination measurement, in mas\n", "df_orbitize[\"raoff_err\"] = 123.4 # error on the RA measurement, in mas\n", "\n", "df_orbitize.to_csv(\"data_for_orbit_fit.csv\", index=False)\n",