sensdata | R Documentation |
Retrieve (as an rspec object) or plot pavo's in-built spectral sensitivity data.
sensdata(
visual = c("none", "all", "avg.uv", "avg.v", "bluetit", "ctenophorus", "star", "pfowl",
"apis", "canis", "cie2", "cie10", "musca", "drosophila", "habronattus",
"rhinecanthus"),
achromatic = c("none", "all", "bt.dc", "ch.dc", "st.dc", "md.r1", "dm.r1", "ra.dc",
"cf.r"),
illum = c("none", "all", "bluesky", "D65", "forestshade"),
trans = c("none", "all", "bluetit", "blackbird"),
bkg = c("none", "all", "green"),
plot = FALSE,
...
)
visual |
visual systems. Options are:
|
achromatic |
the sensitivity data used to calculate luminance (achromatic) receptor stimulation. Options are:
|
illum |
illuminants. Options are:
|
trans |
Ocular transmission data. Options are:
|
bkg |
background spectra. Options are:
|
plot |
should the spectral data be plotted, or returned instead (defaults to |
... |
additional graphical options passed to |
An object of class rspec
(when plot = FALSE
), containing
a wavelength column "wl"
and spectral data binned at 1 nm intervals from 300-700 nm.
Thomas E. White thomas.white026@gmail.com
Rafael Maia rm72@zips.uakron.edu
Sharkey, C. R., Blanco, J., Leibowitz, M. M., Pinto-Benito, D., & Wardill, T. J. (2020). The spectral sensitivity of Drosophila photoreceptors. Scientific reports, 10(1), 1-13.
# Plot the honeybee's receptors
sensdata(visual = "apis", ylab = "Absorbance", plot = TRUE)
# Plot the average UV vs V avian receptors
sensdata(visual = c("avg.v", "avg.uv"), ylab = "Absorbance", plot = TRUE)
# Retrieve the CIE colour matching functions as an rspec object
ciedat <- sensdata(visual = c("cie2", "cie10"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.