Package ffx.xray.parsers
Class CCP4MapWriter
java.lang.Object
ffx.xray.parsers.CCP4MapWriter
CCP4MapWriter class.
- Since:
- 1.0
- Author:
- Timothy D. Fenn
- See Also:
-
Constructor Summary
ConstructorDescriptionCCP4MapWriter
(int orix, int oriy, int oriz, int extx, int exty, int extz, int nx, int ny, int nz, Crystal crystal, String filename) Constructor for CCP4MapWriter.CCP4MapWriter
(int extx, int exty, int extz, Crystal crystal, String filename) construct mapwriter object -
Method Summary
-
Constructor Details
-
CCP4MapWriter
construct mapwriter object- Parameters:
extx
- slices in xexty
- slices in yextz
- slices in zcrystal
-Crystal
objectfilename
- output filename
-
CCP4MapWriter
public CCP4MapWriter(int orix, int oriy, int oriz, int extx, int exty, int extz, int nx, int ny, int nz, Crystal crystal, String filename) Constructor for CCP4MapWriter.
-
-
Method Details
-
setStride
public void setStride(int stride) Set the stepping across the array (e.g. 2 if data is separated by 1 space)- Parameters:
stride
- the step size desired
-
write
public void write(double[] data) Write data to file (does not normalize).- Parameters:
data
- map data to write out
-
write
public void write(double[] data, boolean norm) write data to file, does not normalize- Parameters:
data
- map data to write outnorm
- should the data be normalized by mean/sd?
-