![]() ![]() Looking like a change in the marker position recordRating ( rating, rt=None, log=None ) ¶ Note that the position of the marker can be set using current without The most recent rating from the participant or None. Value ( tuple, list) – The new position of slider This does not alter the value of the reported rating, only its visibleĪlso note that this position is in scale units, not in coordinates pos ¶ The position on the scale where the marker should be. (readonly) determines from self.size whether the scale is horizontal knownStyles = ¶ markerPos ¶ Get the current value of rating (or None if no response yet) horiz ¶ Get the RT for most recent rating (or None if no response yet) getRating ( ) ¶ While the mouse button is down we will alter self.markerPosīut don’t set a value for self.rating until button comes up Returns: Will ALSO automatically be set as the current rating response. This is usually done during the draw() method but can be done by the Instructs the rating scale to check for valid mouse responses. Both numerical and categoricalĬhoices are stored automatically in the history. The history can be retrieved at any time, allowing for continuous Return a list of the subject’s history as (rating, time) tuples. Set all elements of the Slider (labels, ticks, line) to a contrast Parameters:ĭraw the Slider, with all its constituent elements on this frame getHistory ( ) ¶ Handle granularity for the rating _setLabelLocs ( ) ¶Ĭalculates the locations of the line, tickLines and labels fromĬolor of the line/ticks/labels according to the color space. color – Color of the line/ticks/labels according to the color space.Like 0.1 gives a limited fine-grained scale. granularity ( int or float) – The smallest valid increments for the scale.flip ( bool) – By default the labels will be below or left of the line.units ( the units to interpret the pos and size) –.This also controls whether the scale is horizontal or vertical. size ( w, h pair ( tuple, array or list )) – The size for the scale defines the area taken up by the line and.pos ( XY pair ( tuple, array or list )) –.Of ticks but with some values set to None Uneven distribution you should include a list matching the length If the labels can’t be distributedĪcross the ticks then an error will be raised. ![]() If you give 3 labels but 5 tick locations then the end and middle
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |