Skip to content

Commit d82fce7

Browse files
committed
Added issue #97
1 parent 41cf71f commit d82fce7

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

application.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,25 @@ def routine_data_sender(self):
605605
scopes
606606
)
607607
# Display absorbance
608+
to_disp_abs = dict([])
609+
for key in absorbanceSpectrum:
610+
to_disp_abs[key] =\
611+
absorbanceSpectrum[key].getInterpolated(
612+
startingLamb=float(self.config_dict[
613+
self.ROUT_START_LAM
614+
].get()),
615+
endingLamb=float(self.config_dict[
616+
self.ROUT_END_LAM
617+
].get()),
618+
nrPoints=int(self.config_dict[
619+
self.ROUT_NR_POINTS
620+
].get()),
621+
smoothing=True,
622+
windowSize=int(self.config_dict[
623+
self.ROUT_INTERP_INT
624+
].get()),
625+
polDegree=5
626+
)
608627
self.liveDisplay.putSpectrasAndUpdate(
609628
self.LIVE_ABS, absorbanceSpectrum
610629
)

0 commit comments

Comments
 (0)