Coverage for python/lsst/sims/survey/fields/fields_database.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
"""Internal file containing the standard 3.5 degree FOV survey field information."""
"""Initialize the class. """ self.db_name))
"""Delete the class. """
"""Get a set of Field instances.
Parameters ---------- query : str The query for field retrieval.
Returns ------- set The collection of Field instances. """
"""Get a formatted string of OpSim3 user regions.
This function gets a formatted string of OpSim3 user regions suitable for an OpSim3 configuration file. The format looks like (RA,Dec,Width):
userRegion = XXX.XX,YYY.YY,0.03 ...
The last column is unused in OpSim3. The precision argument can be used to control the formatting, but OpSim3 configuration files use 2 digits as standard.
Parameters ---------- query : str The query for field retrieval. precision : int, optional The precision used for the RA and Dec columns. Default is 2.
Returns ------- str The OpSim3 user regions formatted string. """ "{{:.{0}f}},{{:.{0}f}},0.03".format(precision)
"""Retrieve lists of RA and Dec.
Parameters ---------- query : str The query for field retrieval.
Returns ------- numpy.array, numpy.array The arrays of RA and Dec. """
"""Retrieve lists of fieldId, RA and Dec.
Parameters ---------- query : str The query for field retrieval.
Returns ------- numpy.array, numpy.array, numpy.array The arrays of fieldId, RA and Dec. """
"""Get the rows from a query.
This function hands back all rows from a query. This allows one to perform other operations on the information than those provided by this class.
Parameters ---------- query : str The query for field retrieval.
Returns ------- list The set of field information queried. """ |