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

public class MandelbrotSet extends Object implements DatasetToDatasetFunction
Calculate a dataset of recursion values where a value less than the given maximum indicate a position in the complex plane is outside the Mandelbrot set
  • Constructor Summary

    Constructors
    Constructor
    Description
    MandelbrotSet(int maxRecursion)
    Mandelbrot set
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.eclipse.january.dataset.Dataset>
    value(org.eclipse.january.dataset.IDataset... axes)
    - * @param axes specify real and imaginary coordinates as two 1d datasets

    Methods inherited from class java.lang.Object

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

    • MandelbrotSet

      public MandelbrotSet(int maxRecursion)
      Mandelbrot set
      Parameters:
      maxRecursion - maximum recursion
  • Method Details

    • value

      public List<org.eclipse.january.dataset.Dataset> value(org.eclipse.january.dataset.IDataset... axes)
      - * @param axes specify real and imaginary coordinates as two 1d datasets
      Specified by:
      value in interface DatasetToDatasetFunction
      Parameters:
      axes - list of datasets to be processed
      Returns:
      a list containing a dataset of recursion limits