|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ucla.stat.SOCR.analyses.command.volume.Volume_2IndepSample_T_test
public class Volume_2IndepSample_T_test
Constructor Summary | |
---|---|
Volume_2IndepSample_T_test()
|
Method Summary | |
---|---|
static double[] |
getNextInputDataBuffer(int data_type,
int group,
int xLength,
int flush)
This method READS IN a bufferSize chunk of all input volumes and returns it as a double[] |
static void |
main(java.lang.String[] args)
|
static void |
putNextOutputDataBuffer()
This method WRITES OUT bufferSize chunks of background (trivial) values for all output volumes |
static void |
putNextOutputDataBuffer(float tStat,
float pValue)
This method WRITES OUT bufferSize chunks of t-stats and p-values for all output volumes |
static void |
setByteOrder(javax.imageio.stream.MemoryCacheImageInputStream dis,
java.lang.String byteorder)
This method sets the Bite-Order for a MemoryCacheImageInputStream |
static void |
setByteOrder(javax.imageio.stream.MemoryCacheImageOutputStream dos,
java.lang.String byteorder)
This method sets the Bite-Order for a MemoryCacheImageOutputStream |
static void |
skipNextInputDataBuffer(int data_type,
int group,
int xLength)
This method SKIPS in reading data from the bufferSize chunk of all input volumes |
static double |
swap(double value)
Byte swap a single DOUBLE value. |
static float |
swap(float value)
Byte swap a single FLOAT value. |
static int |
swap(int value)
Byte swap a single INTEGER value. |
static long |
swap(long value)
Byte swap a single LONG INTEGER value. |
static short |
swap(short value)
Byte swap a single SHORT INT value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Volume_2IndepSample_T_test()
Method Detail |
---|
public static void main(java.lang.String[] args)
public static void setByteOrder(javax.imageio.stream.MemoryCacheImageInputStream dis, java.lang.String byteorder)
dis
- - MemoryCacheImageInputStreambyteorder
- - String representation of byteorder. Options are
big (java.nio.ByteOrder.BIG_ENDIAN)
little (java.nio.ByteOrder.LITTLE_ENDIAN)
system (default system byteorder, java.nio.ByteOrder.nativeOrder())public static void setByteOrder(javax.imageio.stream.MemoryCacheImageOutputStream dos, java.lang.String byteorder)
dis
- - MemoryCacheImageOutputStreambyteorder
- - String representation of byteorder. Options are
big (java.nio.ByteOrder.BIG_ENDIAN)
little (java.nio.ByteOrder.LITTLE_ENDIAN)
system (default system byteorder, java.nio.ByteOrder.nativeOrder())public static double[] getNextInputDataBuffer(int data_type, int group, int xLength, int flush)
data_type
- - type of the input datagroup
- - group index (group 0 or 1)xLength
- - number of volumes/subjects in the second-column (file-names) in the Design-matrixflush
- - variable indicating whether the buffer should be flushed as the stream keeps
in memory all the data it has read from disk. This will free up memory, but too frequent
calls (flush==true) will slow down the process!public static void putNextOutputDataBuffer(float tStat, float pValue)
tStat
- t-statisticspValue
- - p-valuepublic static void putNextOutputDataBuffer()
public static void skipNextInputDataBuffer(int data_type, int group, int xLength)
data_type
- - type of the input datagroup
- - group (0 or 1) indexxLength
- - number of volumes/subjects in the second-column (file-names) in the Design-matrixpublic static short swap(short value)
value
- Value to byte swap.
public static int swap(int value)
value
- Value to byte swap.
public static long swap(long value)
value
- Value to byte swap.
public static float swap(float value)
value
- Value to byte swap.
public static double swap(double value)
value
- Value to byte swap.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |