All Packages Class Hierarchy This Package Previous Next Index
Class rsfF.util.Spike
java.lang.Object
|
+----rsfF.util.Spike
- public class Spike
- extends Object
This class generates a synthetic Rsf.
This should probably be an Rsf Factory.
The setZero(), setConstant(), setRandom(), setSpike()
methods vary the data values.
We may want to have more sophisticated methods to define set of spikes.
(e.g. iterator as arguments, or hyperplanes like it was possible in the
old Spike).
We may want to have an independent Random tool that can create various
random distributions.
-
Spike(Axis[])
-
-
Spike(InputStream)
-
-
Spike(int)
-
-
Spike(int[])
-
-
Spike(Rsf)
-
-
getRsf()
-
-
main(String[])
-
-
setConstant(float)
-
-
setDatum(int[], float)
-
-
setRandom()
-
-
setZero()
-
-
toString()
- Returns a string representation of the object.
Spike
public Spike(Rsf rsf)
Spike
public Spike(InputStream istr)
Spike
public Spike(Axis axes[])
Spike
public Spike(int nSamples[])
Spike
public Spike(int n)
setZero
public void setZero()
setDatum
public void setDatum(int indices[],
float magnitude)
setConstant
public void setConstant(float magnitude)
setRandom
public void setRandom()
getRsf
public Rsf getRsf()
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
- toString in class Object
main
public static void main(String args[]) throws IOException
All Packages Class Hierarchy This Package Previous Next Index