+helpers

Functions that are based on well-known equations: integration etc.

aggreg(atmfile, SCOPEspec)

Aggregate MODTRAN data over SCOPE bands by averaging (over rectangular band passes)

count(nvars, v, vmax, id)

nvars = number of digits v = current vector of digits vmax = maximum values of digits id = starting digit vnew = new vector of digits

Sint(y, x)

Simpson integration x and y must be any vectors (rows, columns), but of the same length x must be a monotonically increasing series