crop_pad¶
- crop_pad(inst: BaseRaw | BaseEpochs | Evoked, pad: str, copy: bool = False) BaseRaw | BaseEpochs | Evoked[source][source]¶
Crop and pad an instance.
- Parameters:
inst (
instanceofRaw,Epochs, orEvoked) – The instance to crop and pad.pad (
str) – The amount of time to pad the instance. If a string, it must be a human-readable time, e.g. “10s”.copy (
bool, optional) – If True, a copy of x, filtered, is returned. Otherwise, it operates on x in place. Defaults to False.
- Returns:
inst – The cropped and de-padded instance.
- Return type:
instanceofRaw,Epochs, orEvoked