VPDetectorBinning WhichBin Method Virtual Photonics - VTS Library
Virtual Photonics
Overload List

  NameDescription
Public methodStatic memberWhichBin(Double, Double,  Double )
WhichBin determines which bin "value" is in given a list of bin centers and bin sizes. If value not in any bin, -1 returned. This allows for non-contiguous bins and nonuniformly spaced bins.
Public methodStatic memberWhichBin(Double, Int32, Double, Double)
WhichBin determines which uniform bin "value" is in. If data is beyond last bin, the last bin is returned. If the data is smaller than first bin, the first bin is returned. This assumes bins are contiguous.
Back to Top
See Also