Light recording class¶
- class pyActigraphy.light.LightRecording(*args, **kwargs)[source]¶
Base class for light recordings. Derives from
pyActigraphy.recording.BaseRecording
.- Parameters
name (str) – Name of the light recording.
data (pandas.DataFrame) – Dataframe containing the light data found in the recording.
Light channels
get_channel
(channel)Light channel accessor
get_channels
([channels])Light channel accessor
List of light channels
Light data masking
Create a blank mask for all light channels.
add_light_mask_period
(start, stop[, channel])Add a masking period.
add_light_mask_periods
(input_fname[, channel])Add masking periods from a file.