Skip to content

Commit

Permalink
Update portal-intro.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Madejski authored Dec 17, 2024
1 parent 399c534 commit f824913
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions data-access-analysis-tools/portal-intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,16 @@ That table contains "forced" flux measurements in locations of all objects which
The table ``dp02_dc2_catalogs.DiaObject``, in turn, contains objects which were detected using the "Difference Image Analysis" (DIA) method.
The DIA method basically subtracts the fluxes of the previously undetected objects from those that showed ``SNR > 5`` detections in individual single-epoch difference images.

This example demonstrates how to create a forced photometry lightcurve for the known RR Lyrae star located at (62.1479031, -35.799138).
This example demonstrates how to create a forced photometry lightcurve for the known RR Lyrae star located at (62.1479031, -35.799138) using the Portal aspect of the Rubin Science Platform.

The individual Processed Visit Images might have very slightly different coordinates for the same object.
With this, instead of providing the RA and Dec to the light curve extraction process, it is wise to extract the data from the ``dp02_dc2_catalogs.DiaObject`` table using the object's unique DIA object identifier ``diaObjectId``.
Determining the ``diaObjectId`` can be accomplished via the Portal Aspect of the Rubin Science Platform, by clicking on the "UI assisted" button, selecting "DP0.2 Catalogs" tab, chosing the "dp02_dc2_catalogs" on the left, and "dp02_dc2_catalogs.DiaObject" table on the right.

Only the spatial constraints need to be entered on the left, with the 62.1479031, -35.799138 - and a 2 arcseconds radius using the "cone Shape" ("Temporal" constraints button needs to be unchecked).
For the "Output Column Selection" only the ``diaObjectId`` and needs to be checked.
Pressing the "search" button will return only one ``diaObjectId`` - it is 1651589610221864014.
Only the spatial constraints need to be entered on the left, with the 62.1479038, -35.7991348 - and a 2 arcseconds radius using the "cone Shape" ("Temporal" constraints button needs to be unchecked).
For the "Output Column Selection" only the ``diaObjectId`` and ``gPSFluxNdata`` need to be checked.
(The ``gPSFluxNdata`` will return the number of observations in the ``g`` band, and if there are multiple objects in the search radius - the one with a larger mumber of data points needs to be selected.)
Pressing the "search" button will return two ``diaObjectId``. The one with a larger number of data points is 1651589610221862935.

The ``ForcedSourceOnDiaObject`` contains fluxes of individual objects, but it does not contain the observation epochs; however, the table ``CcdVisit`` does.
Obtaining the visit epochs will require joining two tables - specifically ``ForcedSourceOnDiaObject`` and ``CcdVisit`` on the common meta entry of ``ccdVisitId``.
Expand Down

0 comments on commit f824913

Please sign in to comment.