{ "cells": [ { "cell_type": "markdown", "id": "9dbb8763-90f0-4b0f-9a4e-3e4b7e8a348e", "metadata": {}, "source": [ "\n", "Rodent silent substitution\n", "==========================\n", "\n", "Silent substitution has been applied to study the effects of melanopic stimulation on circadian responses in mice (e.g., [Mouland et al., 2021](https://onlinelibrary.wiley.com/doi/10.1111/jpi.12735)). This example demonstrates how to create a custom `Rodent` observer class and prepare cone-silent melanopsin modulations for a BGRW projector. Let's assume that the device will project onto a pane of diffusive material above a chamber containing the mouse. Note that the the following workflow may be applied for any custom observer whose action spectra are available.\n", "\n", "These action spectra were obtained from the Rodent Toolbox ([Lucas et al., 2014](https://www.cell.com/trends/neurosciences/fulltext/S0166-2236(13)00197-5)). Note that mice do not possess a third cone, and that the spectral sensitivities peak at different locations in the visual spectrum in comparison to humans. In particular, S-cone sensitivity is shifted leftwards towards the near-UV portion of the spectrum and there is increased overlap of the M-cone, melanopic and rhodopic action spectra.\n" ] }, { "cell_type": "code", "execution_count": 1, "id": "10d96849-a327-4633-b47e-622a821b58ae", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | sc | \n", "mel | \n", "rh | \n", "mc | \n", "
---|---|---|---|---|
Wavelength | \n", "\n", " | \n", " | \n", " | \n", " |
300 | \n", "0.004086 | \n", "0.000754 | \n", "0.000676 | \n", "0.000577 | \n", "
301 | \n", "0.005899 | \n", "0.001042 | \n", "0.000905 | \n", "0.000804 | \n", "
302 | \n", "0.008776 | \n", "0.001530 | \n", "0.001312 | \n", "0.001195 | \n", "
303 | \n", "0.012715 | \n", "0.002220 | \n", "0.001898 | \n", "0.001749 | \n", "
304 | \n", "0.017718 | \n", "0.003110 | \n", "0.002662 | \n", "0.002467 | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
776 | \n", "0.000000 | \n", "0.000000 | \n", "0.000000 | \n", "0.000000 | \n", "
777 | \n", "0.000000 | \n", "0.000000 | \n", "0.000000 | \n", "0.000000 | \n", "
778 | \n", "0.000000 | \n", "0.000000 | \n", "0.000000 | \n", "0.000000 | \n", "
779 | \n", "0.000000 | \n", "0.000000 | \n", "0.000000 | \n", "0.000000 | \n", "
780 | \n", "0.000000 | \n", "0.000000 | \n", "0.000000 | \n", "0.000000 | \n", "
481 rows × 4 columns
\n", "