Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,17 @@ def background():
"y": list(map(str, y_value)),
}

# perform:
# --> blackbody spectrum of source (sPlanck)
# --> transmission spectrum of beamsplitter and cell windows
# --> detector response spectrum
processed_spectrum = __process_spectrum(data, background_spectrum)

if processed_spectrum is None:
return {
"success": False,
"text": "Issue Processing Data"
}
# perform:
# --> blackbody spectrum of source (sPlanck)
# --> transmission spectrum of beamsplitter and cell windows
# --> detector response spectrum
processed_spectrum = __process_spectrum(data, background_spectrum)
if processed_spectrum is None:
return {
"success": False,
"text": "Issue Processing Data"
}

except:
return {
Expand Down