Class RixsImageReductionBaseModel

All Implemented Interfaces:
IOperationModel
Direct Known Subclasses:
RixsImageCombinedReductionModel, RixsImageReductionModel

public class RixsImageReductionBaseModel extends RixsBaseModel
Model for reducing RIXS images to spectra
  • Constructor Details

    • RixsImageReductionBaseModel

      public RixsImageReductionBaseModel()
  • Method Details

    • getEnergyOffsetOption

      public RixsImageReductionBaseModel.ENERGY_OFFSET getEnergyOffsetOption()
      Returns:
      option for zero energy offset
    • setEnergyOffsetOption

      public void setEnergyOffsetOption(RixsImageReductionBaseModel.ENERGY_OFFSET energyOffsetOption)
    • getEnergyOffsetA

      public double getEnergyOffsetA()
      Returns:
      pixel position on energy axis of zero energy loss for rectangle A
    • setEnergyOffsetA

      public void setEnergyOffsetA(double energyOffsetA)
    • getEnergyOffsetB

      public double getEnergyOffsetB()
      Returns:
      pixel position on energy axis of zero energy loss for rectangle B
    • setEnergyOffsetB

      public void setEnergyOffsetB(double energyOffsetB)
    • getCalibrationFile

      public String getCalibrationFile()
      Returns:
      path to file that contains processed calibration file
    • setCalibrationFile

      public void setCalibrationFile(String calibrationFile)
    • getWindow

      public int getWindow()
      Returns:
      size of window to check for photon event
    • setWindow

      public void setWindow(int window)
    • getLowThreshold

      public double getLowThreshold()
      Returns:
      lower threshold for event peak
    • setLowThreshold

      public void setLowThreshold(double lowThreshold)
    • getHighThreshold

      public double getHighThreshold()
    • setHighThreshold

      public void setHighThreshold(double highThreshold)
    • getEnergyDispersion

      public double[] getEnergyDispersion()
      Returns:
      energy resolution at detector (in eV/pix). Can be null to indicate read from file
    • setEnergyDispersion

      public void setEnergyDispersion(double[] energyDispersion)
    • getBins

      public int getBins()
      Returns:
      number of bins to use in super-sampling for event centroids
    • setBins

      public void setBins(int bins)
    • getCorrelateOrder

      public RixsImageReductionBaseModel.CORRELATE_ORDER getCorrelateOrder()
      Returns:
      order for spectrum correlator
    • setCorrelateOrder

      public void setCorrelateOrder(RixsImageReductionBaseModel.CORRELATE_ORDER correlateOrder)
    • getCorrelateOption

      public RixsImageReductionBaseModel.CORRELATE_PHOTON getCorrelateOption()
      Returns:
      option for photon event spectrum correlation
    • setCorrelateOption

      public void setCorrelateOption(RixsImageReductionBaseModel.CORRELATE_PHOTON correlateOption)
    • isNormalizeByRows

      public boolean isNormalizeByRows()
      Returns:
      true if spectra should be normalized by region size
    • setNormalizeByRows

      public void setNormalizeByRows(boolean normalizeByRows)
    • getNormalizationPath

      public String getNormalizationPath()
      Returns:
      path to normalization dataset, can be null
    • setNormalizationPath

      public void setNormalizationPath(String normalizationPath)
    • getFrameSelection

      public String getFrameSelection()
      Returns:
      selection of frames as a multi-range string
    • setFrameSelection

      public void setFrameSelection(String frameSelection)
    • getEnergyRange

      public double[] getEnergyRange()
      Returns:
      start and end energies to use to correlate spectra. Can be null
    • setEnergyRange

      public void setEnergyRange(double[] energyRange)
    • getXIPOption

      Returns:
      option for including XIP data
    • setXIPOption

      public void setXIPOption(RixsImageReductionBaseModel.XIP_OPTION xipOption)
    • isSaveAllPositions

      public boolean isSaveAllPositions()
      Returns:
      if true then save all centroid positions
    • setSaveAllPositions

      public void setSaveAllPositions(boolean saveAllPositions)
    • getCentroidLookupFile

      public String getCentroidLookupFile()
      Returns:
      file path to lookup tables for centroid correction
    • setCentroidLookupFile

      public void setCentroidLookupFile(String centroidLookupFile)