Page History
...
How do I get PS1 data for a list of sources I have?
The How to retrieve and use PS1 data page describes the three current interfaces to access the PS1 catalogs. All of them can be used to cross match a list of sources.
- Follow the File Upload Form link in the upper right corner of the simple web form to cross-match a list of positions with the catalog.
- Use the VO Cone Search interface in a script to query many positions. This is easily accomplished, e.g., in Python. Note that it is possible to get results back from this interface in a variety of formats, not just in VOTable format. See the documentation for more information.
- Large cross-matches can be carried out in Casjobs. These queries can be customized to extract only the columns of interest and to apply constraints based on additional catalog information (e.g., to require that the object be detected in a particular filter). One of the SQL query examples in Casjobs shows how to do a cross-match. Login to Casjobs, go to the Query page, select the PanSTARRS_DR1 context, and click the Samples button (just below the context menu). The PS1 crossmatch query does a cross-match with one of your MyDB tables:
Code Block | ||
---|---|---|
| ||
/* Create a table of positions within a file in your local directory that looks like this
ID, RA, DEC
1, 1.58851, -0.07845
2, 5.53825, -1.51730
3, 6.33772, -12.34491
Upload this file into MyDB as a table named MySources using the Import tool in CasJobs.
Run the following query to obtain the PS1 catalog information
about matches that lie within 20 arcseconds of the search positions.
Reports input values, PS1 positions and PSF magnitudes. */
select s.ID, s.ra, s.dec, o.objID, o.raMean, o.decMean,
o.nDetections, o.ng, o.nr, o.ni, o.nz, o.ny,
m.gMeanPSFMag, m.rMeanPSFMag, m.iMeanPSFMag, m.zMeanPSFMag, m.yMeanPSFMag
from MyDB.MySources s
cross apply fGetNearbyObjEq(s.ra,s.dec,20.0/60.0) nb
inner join ObjectThin o on o.objid=nb.objid and o.nDetections>1
inner join MeanObject m on o.objid=m.objid and o.uniquePspsOBid=m.uniquePspsOBid |
What tools are available to extract and examine PS1 data?
...