Holcombe:Photometry

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
(Using the Photo Research Spectroradiometer: started to fill out this section. I'll have to come back to it when when I have the device on me.)
(Using the Photo Research Spectroradiometer (SpectraScan 670): finished it off.)
Line 30: Line 30:
# The luminance of the first screen should equal the average of the luminances of the bars in the second and third screens.
# The luminance of the first screen should equal the average of the luminances of the bars in the second and third screens.
-
===Using the Photo Research Spectroradiometer (SpectraScan 670)===
+
===Using the Photo Research Spectroradiometer (SpectraScan PR670)===
It should be noted that the USB cable that comes with this device is only for charging the battery, so it's unlikely you'll need to use it. All navigational terms used in this guide assume the spectroradiometer is facing you (I.e. the LCD display is '''not''' visible)
It should be noted that the USB cable that comes with this device is only for charging the battery, so it's unlikely you'll need to use it. All navigational terms used in this guide assume the spectroradiometer is facing you (I.e. the LCD display is '''not''' visible)
# Plug the power adapter into the small port on the right hand side of the device, next to the mini-USB port.
# Plug the power adapter into the small port on the right hand side of the device, next to the mini-USB port.
-
# Screw the lens into the front of the device next to the compartment that holds the battery.
+
# Screw the standard objective lens (MS-75) into the front of the device next to the compartment that holds the battery. When screwing in the lens, hold it by the rubber grip strip at the base of the lens piece.
-
# Insert an SD card into the card slot, found beneath the eye-piece on the back right of the device.
+
# Insert an SD card into the card slot, found beneath the View Finder (eye-piece on the back right of the device). The PR670 supports cards up to 1GB. You should be able to find a Kingston 512MB SD card in the spectroradiometer carry case.
 +
# Open the View Finder shutter by twisting the small knob on the right hand side of the device.
# Switch the spectoradiometer on by pressing the power button found at the top of the button panel on the back left of the device.
# Switch the spectoradiometer on by pressing the power button found at the top of the button panel on the back left of the device.
-
# Wait for it to initialise. Once it's ready, the LCD screen at the back of the device will display serial number and ownership information (property of the University of Sydney).
+
# Wait for it to initialize. Once it's ready, the LCD screen at the back of the device will display a title screen with serial number and ownership information (property of THE UNIVERSITY OF SYDNEY).
-
# The LCD screen is touch-responsive. Press the button in the top left hand corner of the screen labelled Menu.
+
# The LCD screen is touch-responsive. You may need to press "Ok" at the bottom left hand corner of the screen to exit the title screen.  
-
# The first thing you want to do is calibrate the screen. The option to do this is under ''utilities'' in the main Menu.
+
# The first thing you want to do is calibrate the screen. Press the button in the top left hand corner of the screen labeled Menu. Under ''Utilities'', you should find an option to ''Calibrate Touch Screen''. Follow the on screen instructions. Note: if you don't want to use the touch screen there's a set of 5-way navigation keys on the back left of the device, under the power button. Use the arrows to move the red outline which represents the selection on the LCD screen to the desired on-screen button, press the square in the center of the set of 5-way navigation buttons to enter.
-
# Next, under ''?????'' in the main Menu, create a new file on the SD card within which you can store your data:
+
# Next, under ''File Settings'' in the main Menu, create a new file on the SD card within which you can store your data: Select ''New File'' and enter a file name. If you don't want to have to press save after every measurement, you can set it to autosave all data to the SD card immediately, however remember to turn this option off when you've finished with the device. Changes to settings are applied immediately, so once you're satisfied just press ''Back'' in the lower left hand corner of the screen to return to the main Menu.
 +
# Under ''Setup -> Instrument Setup'' in the main Menu, you can change the number of measurements which are averaged to produce a result, the exposure time of each measurement, and whether you want the processor to automatically determine exposure time for each measurement in a reading in order to optimize accuracy and minimize time (if your desired measurement depends on controlling for exposure time, keep this disabled). If you enable this option, disable it before returning the device.
 +
# Exit the menus.
 +
# Before you can take a measurement you need to ensure the lens is focused. First, adjust the lens so the image through the View Finder appears blurred. Next, adjust the eye piece of the View Finder until the black circle in the center of the image appears sharp against the background. Note: this black circle represents the size of the aperture through which the light passes to the diffraction grating and the detector. You can change the size of this aperture in the ''Instrument Setup'' menu - see step 10 above. By default it's set to the largest size - 1 deg.
 +
# Once the aperture appears sharp, adjust the objective lens to focus the background image around it. Note: even if you're just measuring luminance with this device, making sure the image is in sharp focus ensures the spectroradiometer is in a similar position for each reading, controlling for changes in background luminance between readings.
 +
# To take a reading, just press the "Measure" button found on the top left of the device. Hold the device steady until you hear a tone.
 +
# You can navigate the data of the current reading as well as past readings, save data to the SD card or delete it from temporary memory (RAM) using the navigation buttons at the bottom of the LCD screen.
 +
# To turn the spectroradiometer off, simply press the power button at the top of the button panel at the back left of the device. Note that the Spectroradiometer is set by default to ask you if you want to save unsaved data to the SD card at the end of a session (I.e. when you turn it off). However, it's best, if you forget to save certain data, to navigate back to the reading immediately and press save. If you want to change the save before quit option it can be found under ''File Settings'' in the main Menu.
 +
# For any other information you might need, refer to the User Manual (PR-655 - 670 Manual.pdf) found on the CD that comes with the device.
==General info about photopic,scotopic==
==General info about photopic,scotopic==

Revision as of 19:31, 23 November 2010

Members

Alex Holcombe
Sarah McIntyre
Fahed Jbarah
• Shih-Yu Lo
• Patrick Goodbourn
Lizzy Nguyen
Alumni


Technical

Skills Checklist
Python Programming
Psychopy/VisionEgg Installation Notes
R analysis,plot,stats
Statistics
Buttonbox
Verifying timing
Programming Cheat Sheets

Photometry/Colorimetry
Lum&Color in Psychopy
Displays
Clean the screen
Using Bits++
Eye Trackers
Motion Tracking
Backup
Optacon



Monitor calibration

  • Ione Fine has a good explanation of monitor calibration
  • OSX has built-in software that uses visual ramps to allow you to estimate gamma. It then creates an .icc monitor calibration file:
  1. Open System Preferences->Displays->Color. Click "Calibrate" on the display you need an estimate of the gamma for.
  2. Follow the Display Calibrator Assistant's instructions. Take note of the Native Gamma and Native White Point and don't set a target for either of these settings, simply keep the native settings.
  • Psychopy also has a pair of demos to help estimate gamma. Just open and run "gammaMotionNull.py" from the "Demos" menu. The program requires you to press the up/down cursor keys depending on the apparent direction of motion of the bars. At the end of the program, it will allow you to save the data in two files. If you then run the "gammaMotionAnalysis.py" program on the data files (command-click to select multiple files at once), it should give you an estimate of screen gamma (the number labeled "threshold" above the right hand graph). Note. try not to move the mouse after the results have loaded in the "gammaMotionAnalysis.py" program as this may cause the program to crash.

Using the Spyder2Pro or Spyder3Elite

After acquiring an estimate of the screen's gamma, the spyders can be used in conjunction with this psychopy program (Media:Test.zip) to test the screen luminance grating.

Instructions: The luminance of the first screen should equal the average of the luminances of the darker and lighter bars in the second and third screens. Press 'q' or 'escape' to quit, 'space' to progress to the next screen

Using Spyder2Pro/Spyder3Elite

Initial notes:

  • It's best to measure screen luminance in a completely dark room.
  • If you need the software code for the Spyder3Elite installation, it's on a post-it note on the front of the installation CD sleeve.
  • The third screen in Test.py (with full contrast black and white bars) may give slightly inaccurate luminance measurements for the black bars, so take this into account when calculating the average.
  • When removing the Spyder3Elite from a CRT, gently pull the small tab on the suction pad to release the suction.
  1. If calibrating a CRT and using Spyder2Pro, remove the plastic filter from the face of the device, making the suction pads accessible to the screen. If calibrating a LCD, replace the filter on the Spyder2Pro, remove the suction pad from the Spyder3Elite and use the counterbalance to position the Spyder on the screen.
  2. Plug the spyder into a USB port directly (not through a keyboard or USB hub).
  3. Start the Spyder2Pro (Spyder2Pro 2.2) or Spyder3Elite software as appropriate.
  4. Ignore the wizard which starts up and instead open Tools->Colorimeter (Shortcut: command-M). If using the Spyder2Pro, place the spyder on the screen and click initialise.
  5. Load the Test.py program code into the psychopy coder window and set the "screen=" parameter of the "win" object to the appropriate screen (0 for the Primary screen (the one with the OSX menu bar on it), 1 for the secondary screen etc.)
  6. Before you begin, create/modify the profile for the monitor being calibrated in the Monitor Center (Tools->Monitor Center). On the right hand side fill in the gamma values under linearisation with the gamma estimate obtained above. Fill in details about any modifications you made under "Notes", and save the profile before exiting monitor center.
  7. Enter the name of the appropriate monitor profile as it appears in Monitor Center between the quotes for the "monitor=" parameter of the "win" object.
  8. Follow the instructions in red (also found above), measuring the luminance by placing the spyder on the appropriate part of the screen and clicking "Take Reading". For luminance in cd per meter squared, use the Y of the CIE xyY
  9. The luminance of the first screen should equal the average of the luminances of the bars in the second and third screens.

Using the Photo Research Spectroradiometer (SpectraScan PR670)

It should be noted that the USB cable that comes with this device is only for charging the battery, so it's unlikely you'll need to use it. All navigational terms used in this guide assume the spectroradiometer is facing you (I.e. the LCD display is not visible)

  1. Plug the power adapter into the small port on the right hand side of the device, next to the mini-USB port.
  2. Screw the standard objective lens (MS-75) into the front of the device next to the compartment that holds the battery. When screwing in the lens, hold it by the rubber grip strip at the base of the lens piece.
  3. Insert an SD card into the card slot, found beneath the View Finder (eye-piece on the back right of the device). The PR670 supports cards up to 1GB. You should be able to find a Kingston 512MB SD card in the spectroradiometer carry case.
  4. Open the View Finder shutter by twisting the small knob on the right hand side of the device.
  5. Switch the spectoradiometer on by pressing the power button found at the top of the button panel on the back left of the device.
  6. Wait for it to initialize. Once it's ready, the LCD screen at the back of the device will display a title screen with serial number and ownership information (property of THE UNIVERSITY OF SYDNEY).
  7. The LCD screen is touch-responsive. You may need to press "Ok" at the bottom left hand corner of the screen to exit the title screen.
  8. The first thing you want to do is calibrate the screen. Press the button in the top left hand corner of the screen labeled Menu. Under Utilities, you should find an option to Calibrate Touch Screen. Follow the on screen instructions. Note: if you don't want to use the touch screen there's a set of 5-way navigation keys on the back left of the device, under the power button. Use the arrows to move the red outline which represents the selection on the LCD screen to the desired on-screen button, press the square in the center of the set of 5-way navigation buttons to enter.
  9. Next, under File Settings in the main Menu, create a new file on the SD card within which you can store your data: Select New File and enter a file name. If you don't want to have to press save after every measurement, you can set it to autosave all data to the SD card immediately, however remember to turn this option off when you've finished with the device. Changes to settings are applied immediately, so once you're satisfied just press Back in the lower left hand corner of the screen to return to the main Menu.
  10. Under Setup -> Instrument Setup in the main Menu, you can change the number of measurements which are averaged to produce a result, the exposure time of each measurement, and whether you want the processor to automatically determine exposure time for each measurement in a reading in order to optimize accuracy and minimize time (if your desired measurement depends on controlling for exposure time, keep this disabled). If you enable this option, disable it before returning the device.
  11. Exit the menus.
  12. Before you can take a measurement you need to ensure the lens is focused. First, adjust the lens so the image through the View Finder appears blurred. Next, adjust the eye piece of the View Finder until the black circle in the center of the image appears sharp against the background. Note: this black circle represents the size of the aperture through which the light passes to the diffraction grating and the detector. You can change the size of this aperture in the Instrument Setup menu - see step 10 above. By default it's set to the largest size - 1 deg.
  13. Once the aperture appears sharp, adjust the objective lens to focus the background image around it. Note: even if you're just measuring luminance with this device, making sure the image is in sharp focus ensures the spectroradiometer is in a similar position for each reading, controlling for changes in background luminance between readings.
  14. To take a reading, just press the "Measure" button found on the top left of the device. Hold the device steady until you hear a tone.
  15. You can navigate the data of the current reading as well as past readings, save data to the SD card or delete it from temporary memory (RAM) using the navigation buttons at the bottom of the LCD screen.
  16. To turn the spectroradiometer off, simply press the power button at the top of the button panel at the back left of the device. Note that the Spectroradiometer is set by default to ask you if you want to save unsaved data to the SD card at the end of a session (I.e. when you turn it off). However, it's best, if you forget to save certain data, to navigate back to the reading immediately and press save. If you want to change the save before quit option it can be found under File Settings in the main Menu.
  17. For any other information you might need, refer to the User Manual (PR-655 - 670 Manual.pdf) found on the CD that comes with the device.

General info about photopic,scotopic

The best reference for luminance values that are photopic (cone vision) versus scotopic (rod vision) is Donald Hood's chapter in Handbook of perception and performance. We have a good table of luminance, retinal illuminance, pupil size, etc. values from that chapter in the lab.

Alex White's experiment

In Alex White's buttonpress experiment we attempted to bring all stimuli down into the photopic range. To do this we got some neutral density filter sheets to put over the screen. We combined 3 filters: two 0.6ND (Lee Filters number 210) filters and one 0.9ND (Lee number 211) filter. This combined filter transmits 0.73% of light.

When using these filters on the Viewsonic G810 monitor, with contrast to max and brightness to min, the dimmest spinning bar (0.2 by 3 degrees visual angle) we could see well on a black background was 0.01 cd/m^2.

To find out if this luminance value is in the scotopic (rod-only) range, we tried to see how well we could perceive color. We did that by comparing that spinning bar with a green and a red spinning bar (painted with only the R and G guns), and adjusted the luminance of the red and green ones to see if those ever were indistinguishable from each other and from the gray bar. They weren't; Alex H, Alex W, and Dani could all still see color even in that range.

Actually for me (AH), as I take the red gun and slowly make it brighter, it seems that as soon as I can detect the bar I can see that it is red. This suggests that the cones are close to the most sensitive mechanism in this condition, probably because these stimuli are parafovea. When I look at them in the periphery just several degrees (after dark adaptation) the stimuli all look much brighter and it's harder to discriminate the colors. This tells us if we want to do a truly scotopic version of Alex's experiment, we'd have to use stimuli that extend farther into the periphery. This probably also would overcome the issue of the bars getting so fuzzy and occasionally invisible when very dim- they were too close to the rod scotoma of the fovea.--Alex O. Holcombe 05:41, 13 June 2008 (UTC)

--Alex L. White 06:04, 13 June 2008 (UTC)
Views
Personal tools