Class CCP4MapWriter

java.lang.Object
ffx.xray.parsers.CCP4MapWriter

public class CCP4MapWriter extends Object
CCP4MapWriter class.
Since:
1.0
Author:
Timothy D. Fenn
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    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.
    CCP4MapWriter(int extx, int exty, int extz, Crystal crystal, String filename)
    construct mapwriter object
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setStride(int stride)
    Set the stepping across the array (e.g. 2 if data is separated by 1 space)
    void
    write(double[] data)
    Write data to file (does not normalize).
    void
    write(double[] data, boolean norm)
    write data to file, does not normalize

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CCP4MapWriter

      public CCP4MapWriter(int extx, int exty, int extz, Crystal crystal, String filename)
      construct mapwriter object
      Parameters:
      extx - slices in x
      exty - slices in y
      extz - slices in z
      crystal - Crystal object
      filename - 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.
      Parameters:
      orix - an int.
      oriy - an int.
      oriz - an int.
      extx - an int.
      exty - an int.
      extz - an int.
      nx - an int.
      ny - an int.
      nz - an int.
      crystal - a Crystal object.
      filename - a String object.
  • 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 out
      norm - should the data be normalized by mean/sd?