CircleBounds

class rubin_sim.utils.CircleBounds(ra, dec, radius)

Bases: SpatialBounds

Attributes Summary

bound_type

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 = 'circle'

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