Added missing import. Put some checks to measure_of_chaos_dict for input data.
Added missing import. Put some checks to measure_of_chaos_dict for input data.

alexandrovteam/pyImagingMSpec,andy-d-palmer/pyIMS