fluence(spct, w.band, unit.out, exposure.time, wb.trim, use.cached.mult,
  use.hinges, allow.scaled, ...)
## S3 method for class 'default':
fluence(spct, w.band, unit.out, exposure.time, wb.trim,
  use.cached.mult, use.hinges, allow.scaled, ...)
## S3 method for class 'source_spct':
fluence(spct, w.band = NULL,
  unit.out = getOption("photobiology.radiation.unit", default = "energy"),
  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':
fluence(spct, w.band = NULL,
  unit.out = getOption("photobiology.radiation.unit", default = "energy"),
  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 fluence from asource_mspctobject.e_fluence,
  e_irrad, energy_irradiance,
  irradiance, irrad,
  photon_irradiance, q_fluence,
  q_irradlibrary(lubridate)
fluence(sun.spct,
        w.band = waveband(c(400,700)),
        exposure.time = lubridate::duration(3, "minutes") )Run the code above in your browser using DataLab