NPSpec
0.2.0
Solve for the spectral properties of nanoparticles easily
|
This file contains the global constants for the NPSpec library. More...
#include "npspec/version.h"
Go to the source code of this file.
Enumerations | |
enum | SpectraType { Efficiency, CrossSection, Molar, Absorption } |
enum | ErrorCode { NoError = 0, SizeWarning = -3, InvalidRadius = -4, InvalidRelativeRadius = -5, InvalidIncrement = -6, InvalidPathLength = -7, InvalidConcentration = -8, InvalidRefractiveIndex = -9, InvalidNumberOfLayers = -10, UnknownMaterial = -11 } |
enum | NanoparticleShape { Sphere, Ellipsoid } |
enum | SpectraProperty { Extinction, Absorbance, Scattering } |
Variables | |
const int | NLAMBDA = 800 |
const int | MAXLAYERS = 10 |
const double | wavelengths [] |
This file contains the global constants for the NPSpec library.
enum ErrorCode |
Enum for npspec errors.
enum NanoparticleShape |
Enum for shape. This is only used in conjunction with the Nanoparticle class.
Enumerator | |
---|---|
Sphere |
The nanoparticle is a sphere. |
Ellipsoid |
The nanoparticle is an ellipsoid. |
enum SpectraProperty |
Enum for spectra property. This is only used in conjunction with the Nanoparticle class.
Enumerator | |
---|---|
Extinction |
Return the extinction spectra. |
Absorbance |
Return the absorbance spectra. |
Scattering |
Return the scattering spectra. |
enum SpectraType |
const int MAXLAYERS = 10 |
Maximum number of layers the nanoparticle can contain.
const int NLAMBDA = 800 |
Number of wavelengths that will be calculated.
const double wavelengths[] |
The wavelengths that will be calcuated over. This is used internally but is made public to make plotting the data easy.