Releases: jwcarr/eyekit
Releases · jwcarr/eyekit
Eyekit 0.7
Eyekit 0.6.1
General
- Support for Python 3.13.
Eyekit 0.6
Added
InterestArea
s can now be serialized and written to JSON.
Changed
TextBlock.zones()
is nowTextBlock.interest_areas()
.
Deprecated
measure.landing_distances()
has been deprecated, since it does not return a single value and therefore does not play well withmeasure.interest_area_report()
.TextBlock.which_line()
,TextBlock.which_word()
, andTextBlock.which_character()
have been deprecated, since there is no obvious use case for finding an interest area given a fixation.
Removed
io.read()
io.write()
tools.discard_short_fixations()
tools.discard_out_of_bounds_fixations()
tools.snap_to_lines()
TextBlock.word_centers()
TextBlock.which_zone()
Eyekit 0.5.3
Added
- Added
interest_area_report()
convenience function, which allows you to create interest area reports for multiple measures across many trials.
Eyekit 0.5.2
General
- Modernized installation process with pyproject.toml.
Eyekit 0.5.1
Added
- Added
create_stimuli()
function for creating experimental PNG stimulus images. segment()
method added toFixationSequence
for segmenting fixation sequence at given time intervals (e.g. page turns or subtitle timings).
Eyekit 0.5
General
- Eyekit is now licensed under the terms of the GPLv3.
- Dropped support for Python 3.7
Added
- Ability to extract individual samples from an ASC file in addition to the fixations by setting
import_samples=True
. - Ability to place a background image in an
Image
object, which is useful if you want to render participant fixations over a screenshot of the experimental screen. - Added
render_frame()
method toImage
for building videos and animations. discard_long_fixations()
method added toFixationSequence
.shift_x()
,shift_y()
, andshift_time()
methods added toFixation
andFixationSequence
.
Changed
- The fixation tagging system now allows arbitrary key-value pairs.
- The
snap_to_lines()
method now returns two measures of data quality, delta and kappa.
Eyekit 0.4.3
Added
- Option to specify the character encoding when importing ASC or CSV files.
Eyekit 0.4.2
Added
- Added new line assignment method "slice" based on the algorithm described by Glandorf & Schroeder (2021).
Eyekit 0.4.1
General
- The concept of "zones" will be removed in the future due to the confusing terminology. It will still be possible to mark up IAs in the raw text, but these will no longer be called zones.
- Updated code style to Black v22.
Added
- Added
set_crop_area()
toImage
, which allows you to specify a particular area of the image to crop (rather than using the limits of any TextBlocks placed on the image). - The opacity can now be set on line segments drawn using the
draw_line()
method ofImage
.
Changed
- When manually setting the start or end time of a
Fixation
, an error is raised if the start time is after the end time or the end time is before the start time.
Deprecated
- The
TextBlock.word_centers()
method has been deprecated, since this is of limited use. Instead, use something like[word.center for word in txt.words()]
to accomplish the same thing. - The
TextBlock.zones()
andTextBlock.which_zone()
methods have been deprecated.