
  WARNING!

	Written for Python 2.7 in VSC

	exported to .exe with cx_Freeze 5.1.1 (setup.py included)


import may be needed for code to work:

	import matplotlib
	import numpy as np
	import matplotlib.pyplot as plt
	from matplotlib.backends.backend_tkagg import (FigureCanvasTkAgg, NavigationToolbar2Tk)
	from matplotlib.figure import Figure
	from scipy.signal import savgol_filter
	import scipy.sparse as sparse
	from scipy.sparse.linalg import spsolve # for smoothing and baseline
	import Tkinter as tk  # python 2.7 syntax
	from Tkinter import *          
	import tkMessageBox
	import tkFileDialog
	import sys
	import os
	import oceanoptics    # spectrometer critical - Python 2.7 only
	import time
	import threading
	import csv
	import datetime

If you have timeout issues with usb comm when sample_interval_sec is above 1 sec, try following:
_DEFAULT_TIMEOUT variable must be increased in your python 2.7 directory
--->>  Lib\site-packages\usb\core.py for example from default 1000 (1s) to 65000 (65s for very long sample intervals) 

	

