You can nameĬalibrations what you want but PsychoPy will give them names The argument is either a string (naming the calib) or an integerįetches the calibration named mainCalib. Stored under a different key (the date it was taken) Note that a single file can hold multiple calibrations each Sets the current calibration for this monitor. (Also returns the date as set) setCurrent ( calibration = - 1 ) ¶ Sets the current calibration to have a date/time or to the currentĭate/time if none given. Linux and macOS, and %APPDATA%psychop圓monitors on Windows). PsychoPy configuration folder (typically ~/.psychop圓/monitors on This will write a json file to the monitors subfolder of your Makes this the current calibration save ( ) ¶ Ranging 0:1 newCalib ( calibName = None, width = None, distance = None, gamma = None, notes = None, useBits = False, verbose = True ) ¶Ĭreate a new (empty) calibration for this monitor and Lums should be uncalibrated luminance values (e.g. linearizeLums ( desiredLums, newInterpolators = False, overrideGamma = None ) ¶ Of the viewable screen in cm, or None if not known lineariseLums ( desiredLums, newInterpolators = False, overrideGamma = None ) ¶Įquivalent of linearizeLums(). Was this calibration carried out with a bits++ box getWidth ( ) ¶ Gets the wavelength values from the last spectrometer measurement Returns the size of the current calibration in pixels, Returns the version of PsychoPy that was used to create Notes about the calibration getPsychopyVersion ( ) ¶ Returns the mean luminance of the screen if explicitly stored getNotes ( ) ¶ Gets the measured luminance values from last calibration getMeanLum ( ) ¶ Gets the measured luminance values from last calibration TEST getLumsPre ( ) ¶ Gets the method that this monitor is using to linearize the guns getLumsPost ( ) ¶ Gets the measured luminance values from last calibration getLinearizeMethod ( ) ¶ Gets the measured luminance values from last calibration TEST getLevelsPre ( ) ¶ Otherwise (if power spectra are available for the If one has been saved this will be returned. Gets the min,max,gamma values for the each gun getLMS_RGB ( recompute = False ) ¶ Returns just the gamma value (not the whole grid) getGammaGrid ( ) ¶ Returns distance from viewer to the screen in cm, Otherwise, if power spectra are availableįor the monitor a matrix will be calculated. Won’t be finalised unless monitor is saved gammaIsDefault ( ) ¶ĭetermine whether we’re using the default gamma values getCalibDate ( ) ¶Īs a python date object (convert to string usingĬalibTools.strFromDate getDKL_RGB ( RECOMPUTE = False ) ¶ Remove a specific calibration from the current monitor. Stores the settings for the current calibration settings as Or not (in which case the changes will be lost) _loadAll ( ) ¶įetches the calibrations for this monitor from disk, storing themĪs self.calibs cop圜alib ( calibName = None ) ¶ These can be saved to the monitor file using Use with caution since theĭictionary may not contain all the necessary fields thatįetches the info on the sony500 and overrides its usual distance currentCalib is a dictionary object containing variousįields for a calibration.Notes is a text field to store any useful info Width, distance, gamma are details about the calibration Many settings from the stored monitor can easily be overriddenĮither by adding them as arguments during the initial call. Monitor name is already defined (see methods). This will be loaded automatically from disk if the Monitor ( name, width = None, distance = None, gamma = None, notes = None, useBits = None, verbose = True, currentCalib = None, autoLog = True ) ¶Ĭreates a monitor object for storing calibration details.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |