en:praktikum:photometrie_python

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:praktikum:photometrie_python [2025/04/01 11:16] – [Defining some variables] rhainichen:praktikum:photometrie_python [2025/07/31 10:08] (current) – [Download calibration data] rhainich
Line 319: Line 319:
 In the next step we can perform the actual download. For this purpose we use the function ''.query_region''. We have to pass to it the coordinates and the size of the sky region to be queried. Fortunately, both are already known. We know the coordinates from the FIT headers of the star cluster images and the radius of the region is simply the field of view, which we already calculated above. Both values can be taken from the ''V_image'' object. In the next step we can perform the actual download. For this purpose we use the function ''.query_region''. We have to pass to it the coordinates and the size of the sky region to be queried. Fortunately, both are already known. We know the coordinates from the FIT headers of the star cluster images and the radius of the region is simply the field of view, which we already calculated above. Both values can be taken from the ''V_image'' object.
  
-   calib_tbl = v.query_region(V_image.V_image.coordinates_image_center, radius=V_image.field_of_view_x*u.arcmin)[0]+   calib_tbl = v.query_region(V_image.coordinates_image_center, radius=V_image.field_of_view_x*u.arcmin)[0]
  
 The table ''calib_tbl'' now comprise all objects contained in the **APASS** catalog that are in our field of view with their ''B'' and ''V'' magnitudes. The table ''calib_tbl'' now comprise all objects contained in the **APASS** catalog that are in our field of view with their ''B'' and ''V'' magnitudes.
  • en/praktikum/photometrie_python.1743506173.txt.gz
  • Last modified: 2025/04/01 11:16
  • by rhainich