java.lang.Object
uk.ac.diamond.scisoft.analysis.dataset.function.MakeMask
All Implemented Interfaces:
DatasetToDatasetFunction

public class MakeMask extends Object implements DatasetToDatasetFunction
Make a mask given lower and upper threshold values
  • Constructor Summary

    Constructors
    Constructor
    Description
    MakeMask(double low, double high)
    Create function object with given threshold values
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.eclipse.january.dataset.Dataset>
    value(org.eclipse.january.dataset.IDataset... datasets)
     

    Methods inherited from class java.lang.Object

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

    • MakeMask

      public MakeMask(double low, double high)
      Create function object with given threshold values
      Parameters:
      low -
      high -
  • Method Details

    • value

      public List<org.eclipse.january.dataset.Dataset> value(org.eclipse.january.dataset.IDataset... datasets)
      Specified by:
      value in interface DatasetToDatasetFunction
      Parameters:
      datasets - list of datasets to be processed
      Returns:
      list of datasets