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.
|
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).