SCM Repository

[chemosensors] View of /pkg/man/SensorDynamics-class.Rd
ViewVC logotype

View of /pkg/man/SensorDynamics-class.Rd

Parent Directory Parent Directory | Revision Log Revision Log

Revision 55 - (download) (as text) (annotate)
Wed Mar 2 14:48:07 2016 UTC (3 years, 1 month ago) by variani
File size: 3107 byte(s)
new Rd produced by roxygen2
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ChemosensorsClass.R, R/SensorDynamicsClass.R, R/SensorDynamicsClassMethods.R
\title{Method nconst.}







\S4method{initialize}{SensorDynamics}(.Object, num = "numeric",
  gases = "numeric", gnames = "character", concUnits = "character",
  concUnitsInt = "character", tunit = "numeric", ntconst = "numeric",
  trange = "array", ...)

\item{...}{parameters of constructor.}
List of the default parameters.
Method nconst.

Method trange.

Method tconst.

Class \code{\link{SensorDynamics}} emulates a temporal dynamics of the sensor as a low-pass filter.

Function to get default constructor parameters of class \code{\link{SensorDynamics}}.

Constructor method of SensorDynamics Class.

Wrapper function SensorDynamics.
Slots of the class:
  \code{num} \tab Sensor number (\code{1:17}). The default value is \code{1}. \cr
  \code{gases} \tab Gas indices. \cr
  \code{ngases} \tab The number of gases. \cr
  \code{gnames} \tab Names of gases. \cr
  \code{concUnits} \tab Concentration units external to the model. \cr
  \code{concUnitsInt} \tab Concentration units internal to the model. \cr
  \code{tunit} \tab Time length of the gas pulses. The default value is \code{60}. \cr
  \code{enableDyn} \tab A logical value indicates whether time dynamics is enabled. It is \code{TRUE} if \code{tunit} is greater than one. \cr
  \code{tconst} \tab Time constants of the low pass filter. \cr

Methods of the class:
  \code{predict} \tab Predicts a temporal response of the sensor. \cr
  \code{coef} \tab Extracts the time constants of the filter. \cr

The \code{plot} method has one type (parameter \code{y}):
  \code{predict} \tab  Depicts a temporal signal of the model. \cr
### Sensor dynamics: default initialization
sdyn <- SensorDynamics()

sdyn # equivalent to: show(sdyn)



### SensorDynamics as a part of SensorModel
sm <- SensorModel(tunit = 60)
sdyn <- as(sm, "SensorDynamics")

### Demo 1: response to pulses of different concentrations
sa <- SensorArray(tunit = 60, csd = 1, ssd = 0, dsd = 0)

# mixture at low concentrations
p1 <- plotSignal(sa, set = c("A 0.01", "C 0.1", "A 0.01, C 0.1"), main = "Low concentrations")

# mixture at high concentrations
p2 <- plotSignal(sa, set = c("A 0.05", "C 1", "A 0.05, C 1"), main = "High concentrations")

sa <- SensorArray(tunit = 60, nsd = 0)

p3 <- plotSignal(sa, set = c("A", "B", "C"))

p4 <- plotPCA(sa, set = c("A", "B", "C"))
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge