PostMarginResult#
- class pypillometry.signal.PostMarginResult(margins, centres, centre_margins, grid, errors, se, profiles, n_donors=0, n_eff=<factory>, n_sites=0)[source]#
Bases:
objectMargins after the blinks, tuned on transplanted blinks (see
tune_post_margins()).- Attributes:
- marginsnp.ndarray
margin after each blink (samples; in the order of blinks)
- centresnp.ndarray
samples at which the margin was tuned (the centres of the kernel; one for a single margin per recording)
- centre_marginsnp.ndarray
the margin tuned at each centre (samples)
- gridnp.ndarray
the margins that were tried (samples)
- errorsnp.ndarray
mean error of the transplanted blinks for each centre and margin (centres x grid); NaN for the margins that were not tried
- senp.ndarray
standard error of the difference of the errors to those of the best margin (centres x grid; NaN for those not tried)
- profilesnp.ndarray
the pooled artifact after the reopening at each centre (centres x samples after the blink)
- n_donorsint
number of blinks the artifacts were taken from
- n_effnp.ndarray
effective number of these blinks at each centre (with the weights of the kernel)
- n_sitesint
number of places the pooled artifact was transplanted to
Details