Imported (required) packages

Core

  • import os
  • import warnings
  • import pathlib
  • import importlib
  • from collections import OrderedDict as odict
  • from mpl_toolkits.mplot3d import Axes3D
  • import colorsys
  • import itertools
  • import copy
  • import time
  • import tkinter
  • import ctypes
  • import platform
  • import subprocess
  • import cProfile
  • import pstats
  • import io

3e party dependencies (automatic install)

  • import numpy as np
  • import pandas as pd
  • import matplotlib.pyplot as plt
  • import scipy as sp
  • import imageio

3e party dependencies (automatic install on import)

  • import pyswarms (when importing particleswarms from math)
  • import pymoo (when importing pymoo_nsga_ii from math)
  • import harfang as hg (when importing toolbox.stereoscopicviewer)

3e party dependencies (requiring manual install)

To control Ocean Optics spectrometers with spectro toolbox:
  • import seabreeze (conda install -c poehlmann python-seabreeze)
  • pip install pyusb (for use with ‘pyseabreeze’ backend of python-seabreeze)