areDataFramesCompatible¶
-
fiducia.misc.
areDataFramesCompatible
(channels, *frames)[source]¶ Check DataFrame compatibility for specified channels.
Checks if multiple pandas.core.frame.DataFrame objects are compatible and have the channels that are requested. Checks that the DataFrames span the same energy range. Returns true if the frames pass all checks, false otherwise.
- Parameters
channels (list) – List of relevant channels
*frames (pandas.core.frame.DataFrame) – The DataFrames that you want to check for compatiblity with the relevant channels
- Returns
True if frames are compatible with the requested channels, and False otherwise.
- Return type
Notes
Examples