New Features:
control.defaults.window_no_frame=True before initializingmisc.download_from_stashstimuli.Shape: A vertex list can be added when creating a shape object
using the optional vertex_list parameterget_surface_array & set_surface_array
methods for direct pixel manipulations with numpypolar_coordiantecartesian2polar & polar2cartesian in misc.geometrydesign: trials, blocks and experiment objects have the method
has_factor to check if a factor is definedexpyrimentio.TextInput can now optionally how text right-to-leftio.SerialPort has a new method send_linestimuli.Shapegeometry.lines_intersection_point calculates interscetion point of two
linesstimuli.Line is internally based on stimuli.Shape and has the new
methods get_shape and get_connected_shapemisc.round, implementing the old Python 2 rounding behaviourio.keyboard.check now has an argument check_for_keyup which will
check for keyup events instead of keydown eventsmisc.Colour: create colours by names, Hex strings or RGB values;
the class can also handle HSV, HSL values; the misc.HSVColour class is
thus obsoletemisc.data.preprocessing can handle glob wildcard patternChanged:
time.perf_counter function will be used as high-precision timer
if it exists (that is, for Python 3.3+)stimuli.Shape with several bug fixes; e.g. shapes have no
line_width, contour_colour is renamed to debug_contour_colour,
Shape.rect is now a pygame.Rect; see improved documentationextras
misc.download_from_stash).expyriment in the $HOME directory)ascii_fiter in io.TextInput has been renamed to
character_filterfrequence_table in misc.statistics has been renamed to
frequency_tablepoints_to_vertices in misc.geometry has been renamed to
points2verticesposition2coordinate in misc.geometry has been renamed to
position2coordinatesposition2coordinates & coordinates2position have a new optional
argument to calculate positions relative to a surfacesstimuli.Circle: get_polar_coordiantes & set_polar_coordiantes are
obsolete; use polar_positiondesign: Trial().get_factor, Block().get_factor and
Experiment().get_bws_factor now raise an exception if the factor is not
defined; this can be suppressed by using the parameter
return_none_if_not_definedmisc.geometry.points2vertices requires now a list of misc.XYPoints and
not a list of tuples; (use misc.geometry.tuples2points to adapt old code)stimuli.Video: attempting to downloaded a missing ffmpeg binary only when
initializing a Video stimulus with the "mediadecoder" backendio.Mouse: quit events will now be controlled via the method
Mouse.set_quit_corner_location; the class properties
quit_rect_location and quit_rect_size are obsoletepresent method now after screen updateFixed:
io.TouchscreenButtonBoxposition2coordinate & coordinate2positionauto_create_subject_id takes now also existing event files into
accountio.SerialPort bug with Python 3io.Keyboard.waitstimuli.Ellipse with uneven line_width argumentio.TextIput: argument background_stimulus now takes all Expyriment
stimulimisc.get_system_info() uses PIL.__version__io.TextMenu mouse wheel scrolling