Coverage for python/lsst/sims/catUtils/mixins/EBVmixin.py : 69%

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
""" This mixin class contains the getters which a catalog object will use to call calculateEbv in the EBVbase class """
#and finally, here is the getter def get_EBV(self): """ Getter for the InstanceCatalog framework """
galacticCoordinates=numpy.array([self.column_by_name('glon'),self.column_by_name('glat')])
EBV_out=numpy.array(self.calculateEbv(galacticCoordinates=galacticCoordinates,interp=True)) return EBV_out
def get_galacticAv(self): """ Getter to return galactic(Milky Way) Av based on EBV values from getter (reading dustmaps) and the RV value from galacticRv """ return self.column_by_name('EBV')*self.column_by_name('galacticRv')
|