43 lines
1013 B
Python
43 lines
1013 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
"""
|
||
|
Created on Wed Mar 10 15:35:59 2021
|
||
|
|
||
|
@author: nicks
|
||
|
"""
|
||
|
|
||
|
import pyqtgraph as pg
|
||
|
from pyqtgraph.Qt import QtCore, QtGui
|
||
|
import numpy as np
|
||
|
|
||
|
from pyqtgraph.dockarea import *
|
||
|
from PyQt5.QtWidgets import *
|
||
|
from PyQt5.QtCore import *
|
||
|
|
||
|
from PIL import ImageColor
|
||
|
|
||
|
import lyse
|
||
|
|
||
|
import collections
|
||
|
|
||
|
import h5py
|
||
|
from pandas.api.types import is_numeric_dtype
|
||
|
from sortedcontainers import SortedSet
|
||
|
from scipy.interpolate import griddata
|
||
|
|
||
|
# from data_extractors import MultiDataExtractor, SingleDataExtractor, ArrayDataExtractor, EmptyDataExtractor, \
|
||
|
# DataExtractorManager
|
||
|
|
||
|
color_palette_html = ['#1f77b4',
|
||
|
'#ff7f0e',
|
||
|
'#2ca02c',
|
||
|
'#d62728',
|
||
|
'#9467bd',
|
||
|
'#8c564b',
|
||
|
'#e377c2',
|
||
|
'#7f7f7f',
|
||
|
'#bcbd22',
|
||
|
'#17becf']
|
||
|
|
||
|
color_palette = [ImageColor.getcolor(color, "RGB") for color in color_palette_html]
|
||
|
|