Query the Spitzer Heritage Archive (SHA).
position -> search a region naifid -> NAIF ID, which is a unique number allocated to solar
system objects (e.g. planets, asteroids, comets, spacecraft) by the NAIF at JPL.
pid -> program ID reqkey -> AOR ID: Astronomical Observation Request ID
Parameters : | coord : astropy.coordinates.builtin_systems
ra : number
dec : number
size : number
naifid : number
pid : number
reqkey : number
dataset : number, default 2
verbosity : number, default 3
|
---|---|
Returns : | table : astropy.table.Table |
Notes
For column descriptions, metadata, and other information visit the SHA query API_ help page: .. _API: http://sha.ipac.caltech.edu/applications/Spitzer/SHA/help/doc/api.html
Examples
Position query using an astropy coordinate object: >>> import astropy.coordinates as coord >>> import astropy.units as u >>> pos_t = sha.query(coord=coord.FK5(ra=163.6136, dec=-11.784, ... unit=(u.degree, u.degree)), size=0.5)
Position query with optional ra and dec paramters: >>> pos_t = sha.query(ra=163.6136, dec=-11.784, size=0.5)
NAIFID query: >>> nid_t = sha.query(naifid=2003226)
PID query: >>> pid_t = sha.query(pid=30080)
ReqKey query: >>> rqk_t = sha.query(reqkey=21641216)