VLSR — Simple VLSR catalog and calculator.

This module defines the VLSR class.

class admit.util.VLSR.VLSR(upper=True)[source]

Simple VLSR catalog and calculator.

Possible extensions:

  • merge in multiple tables, now hardcoded to a single table in $ADMIT/etc/vlsr.tab
  • allow astroquery from NED and/or SIMBAD (this may need to run in pure-python, outside of ADMIT/CASA)
  • name matching is now done in upper case by default

Attributes

None  

Methods

try_NED(name)
try_SB(name)
vlsr(name[, upper]) return VLSR from requested object
vlsr2(name) experimental Simbad/NED
try_NED(name)[source]
try_SB(name)[source]
vlsr(name, upper=True)[source]

return VLSR from requested object name matching is done in upper case by default If no match is found, 0.0 is returned.

vlsr2(name)[source]

experimental Simbad/NED

admit.util.VLSR.read_vlsr(filename, upper=True)[source]

read the ADMIT vlsr.cat table

This table is peculiar in allowing spaces in source names, but then requires the name to be single (or double) quotes. The source name is stored without these quotes. The 2nd column is VLSR in km/s Anything beyond is ignored, so comments are allowed Also note we are taking the source names “as is”, so it is suggested they are in upper case.