← Back to API reference neuralbench.transforms.CropSleepRecordings¶ pydantic model neuralbench.transforms.CropSleepRecordings[source][source]¶ Keep up to max_wake_duration_min mins of wake (W) time before and after the first and last sleep events. Fields: max_wake_duration_min (float) field max_wake_duration_min: float = 30.0[source]¶ crop_first_last_wake(evs: DataFrame) → DataFrame[source][source]¶ requirements: tp.ClassVar[tuple[str, ...]] = ()[source]¶ ← Back to API reference