Barak 0.3.2 documentation

barak.sed.get_bands

«  barak.sed.get_SEDs   ::   Contents   ::   barak.sed.get_extinction  »

barak.sed.get_bands

barak.sed.get_bands(instr=None, names=None, ccd=None)[source]

Get one or more passbands by giving the instrument and filename.

If names is not given, then every passband for that instrument is returned. Passband instruments and filenames are listed in the dictionary PASSBANDS. names can be a list, a single string, or a comma-separated string of values.

Examples

>>> sdss = get_bands('SDSS', 'u,g,r,i,z')  # get the SDSS passbands
>>> U = get_bands('LBC', 'u')    # get the LBC U_spec filter

«  barak.sed.get_SEDs   ::   Contents   ::   barak.sed.get_extinction  »