next up previous contents
Next: Exporting output data for Up: Running AUTO using Python Previous: Bifurcation Diagram Files   Contents

Solution Files

Using the commandParseSolutionFile command (Section 4.14.19 in the reference) the user can parse and read into memory an AUTO bifurcation solution file. For example, the command commandParseSolutionFile('ab') would parse the file b.ab (if you are using the standard filename translations from Table 4.3) and return an object which encapsulates the bifurcation solution in a easy to use form.

The object returned by the commandParseSolutionFile is a list of all of the solutions in the appropriate bifurcation solution file, and each solution is a Python dictionary with entries for each piece of data for the solution. For example, the sequence of commands in Figure 4.15, prints out the label of the first solution in a bifurcation solution. The queriable parts of the object are listed in Table 4.6.

\begin{figure}
% latex2html id marker 913
{\small\begin{center}\begin{boxedverb...
...alue of the solution at the first point of the
first solution.
}
\end{figure}


Table 4.6: This table shows the strings that can be used to query a bifurcation solution object and their meanings.
Query string Meaning
data

An array which contains the AUTO output.

Branch number

The number of the branch to which the solution belongs.

ISW

The ISW value used to start the calcluation. See Section 10.8.3.

Label

The label of the solution.

NCOL

The number of collocation points used to compute the solution. See Section 10.3.2.

NTST

The number of mesh intervals used to compute the solution. See Section 10.3.1.

Parameters

The value of all of the parameters for the solution.

Point number

The number of the point in the given branch.

Type name

A short string which describes the type of the solution (see Table 4.5).

Type number

A number which describes the type of the solution (see Table 4.5).

p

The value of all of the parameters for the solution. (This is an alias for 'Parameter').

parameters

The value of all of the parameters for the solution. (This is an alias for 'Parameter').


The individual elements of the array may be accessed in two ways, either by the index of the solution using the [] syntax or by label number using the () syntax. For example, sssume that the parsed object is contained in a variable data. The first solution may be accessed using the command data[0], while the solution with label 57 may be accessed using the command data(57).


next up previous contents
Next: Exporting output data for Up: Running AUTO using Python Previous: Bifurcation Diagram Files   Contents
Gabriel Lord 2007-11-19