BoxBounds¶
- class rubin_sim.utils.BoxBounds(ra, dec, length)¶
Bases:
SpatialBounds
Attributes Summary
Methods Summary
to_sql
(r_aname, de_cname)Accepts the names of the columns referring to RA and Dec in the database.
Attributes Documentation
- bound_type = 'box'¶
Methods Documentation
- to_sql(r_aname, de_cname)¶
Accepts the names of the columns referring to RA and Dec in the database. Uses the stored RA, Dec, and length for this object to return an SQL query that only selects the region of RA and Dec desired
@param[in] RAname a string; the name of the RA column in the database
@param[in] DECname a string; the name of the Dec column in the database
@returns a string; an SQL query that only selects the desired region in RA, Dec