q_fluence(spct, w.band, exposure.time, wb.trim, use.cached.mult, use.hinges,
  allow.scaled, ...)
## S3 method for class 'default':
q_fluence(spct, w.band, exposure.time, wb.trim,
  use.cached.mult, use.hinges, allow.scaled, ...)
## S3 method for class 'source_spct':
q_fluence(spct, w.band = NULL, exposure.time,
  wb.trim = getOption("photobiology.waveband.trim", default = TRUE),
  use.cached.mult = getOption("photobiology.use.cached.mult", default =
  FALSE), use.hinges = NULL, allow.scaled = FALSE, ...)
## S3 method for class 'source_mspct':
q_fluence(spct, w.band = NULL, exposure.time,
  wb.trim = getOption("photobiology.waveband.trim", default = TRUE),
  use.cached.mult = getOption("photobiology.use.cached.mult", default =
  FALSE), use.hinges = NULL, allow.scaled = FALSE, ...,
  idx = !is.null(names(spct)))waveband objects or a waveband objectdefault: Default for generic functionsource_spct: Calculate photon fluence from asource_spctobject and the duration of the exposuresource_mspct: Calculates photon (quantum) fluence from asource_mspctobject.e_fluence,
  e_irrad, energy_irradiance,
  fluence, irradiance,
  irrad, photon_irradiance,
  q_irradlibrary(lubridate)
q_fluence(sun.spct,
          w.band = waveband(c(400,700)),
          exposure.time = lubridate::duration(3, "minutes") )Run the code above in your browser using DataLab