aboutsummaryrefslogtreecommitdiff
path: root/src/optics.h
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-10-01 13:32:27 -0500
committertlatorre <tlatorre@uchicago.edu>2018-10-01 13:32:27 -0500
commit4f194cc0c05e8f086e213a2ec59065590b87b16e (patch)
tree9807d95c8e4ed6ecb0cf1446a5000ee8fc935f80 /src/optics.h
parent6f2ee27f80b8275e3ea7c4e284689fd16c868288 (diff)
downloadsddm-4f194cc0c05e8f086e213a2ec59065590b87b16e.tar.gz
sddm-4f194cc0c05e8f086e213a2ec59065590b87b16e.tar.bz2
sddm-4f194cc0c05e8f086e213a2ec59065590b87b16e.zip
fix a bug when computing the absorption length in H2O and D2O
Previously I was interpolating the absorption lengths using interp1d() but that only works when the x array is uniform. Since the wavelengths are not spaced uniformly, we have to use the GSL interpolation routines.
Diffstat (limited to 'src/optics.h')
0 files changed, 0 insertions, 0 deletions