def _check_experiment(self, name):
with h5py.File(name=self.path, mode="<STR_LIT:r>") as h5:<EOL><INDENT>sigpath = "<STR_LIT>".format(name)<EOL>signal_type = h5[sigpath].attrs["<STR_LIT>"]<EOL><DEDENT>if signal_type != "<STR_LIT>":<EOL><INDENT>msg = "<STR_LIT>".format(signal_type,<EOL>self.path,<EOL>name)<EOL>warnings.warn(msg, WrongSignalTypeWarnging)<EOL><DEDENT>return signal_type == "<STR_LIT>"<EOL>
Check the signal type of the experiment

        Returns
        -------
        True, if the signal type is supported, False otherwise

        Raises
        ------
        Warning if the signal type is not supported