>  Docs Center  >  Libraries  >  Buie  >  SC_BCHECK
Libraries

SC_BCHECK

SC_BCHECK

Name


  sc_bcheck

Purpose


  Search a star catalog for the number of stars near a given position

Description


  search the ppm catalog for the number of stars equal or brighter than
  a given threshold within a fixed distance to a region of the sky.

Category


  Database

Calling Sequence


  sc_bcheck, db, ra, dec, radius, mag_min, count

Inputs


  db - handle to an open mysql ddatabase
  ra - ra of serach location
  dec - dec of serach location
  radius - maximum disance from ra/dec to look
  mag_min - faint bound of object magnatude (count everything brighter)

Optional Input Parameters


Keyword Input Parameters


  TBLNAME - Name of table to query in the DB

Outputs


  count - the total number of stars in the region gte mag_min

Keyword Output Parameters


Common Blocks


Side Effects


Restrictions


Procedure


Modification History


  02/02/19, Writen by David Tucker
  2004/03/30, Marc W. Buie, Lowell Observatory, fix sense of mag check



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us