public class PlasmaModel
extends java.lang.Object
Constructor and Description |
---|
PlasmaModel() |
Modifier and Type | Method and Description |
---|---|
int |
counts(Datum energy,
Datum pitch,
java.util.Random random)
return the counts at this energy and pitch angle, with Poisson noise added to the result.
|
int |
counts(Datum energy,
java.util.Random random)
return the counts at this energy, assuming an isotropic distribution, and
Poisson noise is added to the result.
|
double |
f(Datum energy)
return f at the given energy
|
double |
f(Datum energy,
Datum pitchAngle) |
double |
fcounts(Datum energy)
return the counts at this energy, assuming an isotropic distribution.
|
double |
fcounts(Datum energy,
Datum pitch)
return the counts at this energy and pitch angle, without Poisson noise added to the result.
|
Datum |
getDensity()
get the model density
|
Datum |
getGeomFactor()
get the detector geometry factor
|
QDataSet |
getRank2()
return a rank 2 dataset with time as DEPEND_0 and energy as DEPEND_1.
|
QDataSet |
getRank3()
return a rank 2 dataset with time as DEPEND_0 and energy as DEPEND_1.
|
Datum |
getWcParl()
get the parallel speed.
|
Datum |
getWcPerp()
get the perpendicular speed
|
void |
setDensity(Datum density)
set the model density
|
void |
setGeomFactor(Datum geom)
set the detector geometry factor
|
void |
setWcparl(Datum wcparl)
set the parallel speed
|
void |
setWcPerp(Datum wcperp)
set the perpendicular speed
|
public void setDensity(Datum density)
density
- public Datum getDensity()
public void setWcparl(Datum wcparl)
wcparl
- public Datum getWcParl()
public void setWcPerp(Datum wcperp)
wcperp
- perpendicular speedpublic Datum getWcPerp()
public void setGeomFactor(Datum geom)
geom
- the detector geometry factorpublic Datum getGeomFactor()
public double f(Datum energy)
energy
- public double fcounts(Datum energy)
energy
- public int counts(Datum energy, java.util.Random random)
energy
- in eVrandom
- source of random numbers.public double fcounts(Datum energy, Datum pitch)
energy
- pitch
- public int counts(Datum energy, Datum pitch, java.util.Random random)
energy
- pitch
- random
- random number sourcepublic QDataSet getRank2()
public QDataSet getRank3()