frb.surveys.surveycoord

Parent class for surveying at a given coordinate

class frb.surveys.surveycoord.SurveyCoord(coord, radius, verbose=False)[source]

Bases: object

Parent class of surveying around an input coordinate

See the children for specific methods

Args:
  • coord (SkyCoord) – Coordiante for surveying around

  • radius (Angle) – Search radius around the coordinate

__init__(coord, radius, verbose=False)[source]
get_catalog()[source]
Returns:

self.catalog

get_cutout(imsize)[source]
get_image(imsize, filter)[source]
validate_catalog()[source]
write_catalog(out_dir, ftype='ecsv', verbose=None, create_dirs=False, overwrite=True)[source]

Write an input astropy Table to disk

Args:
  • tbl – astropy.table.Table

  • out_dir – str Folder for output

  • root – str Root name of the output file

  • ftype – str, optional File type, e.g. ecsv

  • create_dirs – bool, optional Create the folders to the output dir (if needed)?

  • overwrite – bool, optional Overwrite the existing file?

  • verbose – bool, optional

Returns:

write_cutout(output_dir='./', root=None, verbose=None)[source]

Write the cutout image to disk

Args:
  • output_dir – str

  • root – str, optional

  • verbose – bool, optional

Returns: