Package uk.ac.starlink.ttools.scheme
Class AttractorScheme
- java.lang.Object
-
- uk.ac.starlink.ttools.scheme.AttractorScheme
-
- All Implemented Interfaces:
uk.ac.starlink.table.Documented
,uk.ac.starlink.table.TableScheme
public class AttractorScheme extends java.lang.Object implements uk.ac.starlink.table.TableScheme, uk.ac.starlink.table.Documented
TableScheme that can produce tables representing a sequence of 2d or 3d points in space corresponding to iterated sequence that follow (strange) attractors. This can be useful for generating large tables with non-trivial content columns (X,Y) or (X,Y,Z), especially for plotting demos.Currently three attractor types are supported, as documented in the usage string. An example specification would be something like
attractor:1e7,clifford,-1.25,1.66,-1.79,-0.25
where the first number is row count, the name is one of the supported attractor types, and the numbers are parameters to that attractor. The number of parameters depends on the type, but if no numbers are supplied, then an example set is used. Note if you supply parameters at random you have a good chance of getting a boring (non-strange) attractor.- Since:
- 20 Jul 2020
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description AttractorScheme()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description uk.ac.starlink.table.StarTable
createTable(java.lang.String argtxt)
java.lang.String
getExampleSpecification()
java.lang.String
getSchemeName()
java.lang.String
getSchemeUsage()
java.lang.String
getXmlDescription()
-
-
-
Method Detail
-
getSchemeName
public java.lang.String getSchemeName()
- Specified by:
getSchemeName
in interfaceuk.ac.starlink.table.TableScheme
-
getSchemeUsage
public java.lang.String getSchemeUsage()
- Specified by:
getSchemeUsage
in interfaceuk.ac.starlink.table.TableScheme
-
getExampleSpecification
public java.lang.String getExampleSpecification()
- Specified by:
getExampleSpecification
in interfaceuk.ac.starlink.table.TableScheme
-
getXmlDescription
public java.lang.String getXmlDescription()
- Specified by:
getXmlDescription
in interfaceuk.ac.starlink.table.Documented
-
createTable
public uk.ac.starlink.table.StarTable createTable(java.lang.String argtxt) throws uk.ac.starlink.table.TableFormatException
- Specified by:
createTable
in interfaceuk.ac.starlink.table.TableScheme
- Throws:
uk.ac.starlink.table.TableFormatException
-
-