NivLink 0.1
  • Install
  • Projects
  • DataViewer
  • API
  • Contribute
  • Site

    nivlink.preprocessing.compute_fixations¶

    nivlink.preprocessing.compute_fixations(aligned, info, labels=None)[source]¶

    Compute fixations from aligned timeseries. Fixations are defined as contiguous samples of eyetracking data aligned to the same AoI.

    Parameters:
    aligned : array, shape (n_trials, n_times)

    Eyetracking timeseries aligned to areas of interest.

    info : instance of ScreenInfo

    Eyetracking acquisition information.

    labels : list

    List of areas of interest to include in processing. Defaults to info.labels.

    Returns:
    fixations : pd.DataFrame

    Pandas DataFrame where each row details the (Trial, AoI, Onset, Offset, Duration) of the fixation.

    Back to top

    © Copyright 2018, Niv Lab.