Exemple #1
0
 def get_zbar(self, wavelengths: np.ndarray) -> np.ndarray:
     return interp1(wavelengths, self.wavelengths, self.zbar)
 def _get_daylight_components(self, wavelengths):
     return tuple(interp1(wavelengths, self.wavelengths, s) for s in self._S)
Exemple #3
0
 def get_psd(self, wavelengths: np.ndarray) -> np.ndarray:
     return interp1(wavelengths, self.wavelengths, self.psd)