Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Merge pull request #382 from emartinez-usgs/issue-381

Issue-381
  • Loading branch information...
nluco-usgs committed Sep 28, 2018
2 parents 6677f35 + 76eb45d commit b0b2b9007c3494daf6c7aefc9a2d788dbf4c620d
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/lib/component/spectra-factory.js
  2. +2 −2 test/component/spectra-factory.spec.js
@@ -85,7 +85,7 @@ const SpectraFactory = function (options) {
if (time === 0) {
s_a = pgad;
} else if (time <= T_0) {
s_a = sds * (0.4 + ((0.6 * time) / T_0));
s_a = pgad + ((sds - pgad)*(time / T_0));
} else if (time <= T_S) {
s_a = sds;
} else {
@@ -39,8 +39,8 @@ describe('SpectraFactory', () => {
const calculated = result.data;
const expectation = [
[0,0.637],
[0.025,0.844],
[0.05,1.084],
[0.025,0.868],
[0.05,1.099],
[0.095,1.512],
[0.1,1.512],
[0.15,1.512],

0 comments on commit b0b2b90

Please sign in to comment.
You can’t perform that action at this time.