Closed gbrammer closed 1 year ago
Note that this comes up when I'm trying to just use the nice functions in prospect.utils.smoothing
without requiring a full working prospector
+ fsps
environment.
Thanks @gbrammer! Note that the smoothing module has also been included in the somewhat more lightweight sedpy package in v0.3 (https://sedpy.readthedocs.io/en/latest/) and it will eventually be removed from prospector.
Great, good to know!
Handle exception when SPS_HOME env variable not set.
The
info = np.genfromtxt(os.path.join(SPS_HOME, 'data', 'emlines_info.dat')
line raises aTypeError
when the$SPS_HOME
variable is not set and thusSPS_HOME = os.getenv('SPS_HOME') = None
.