![]() |
Cadabra
Computer algebra system for field theory problems
|
Object to handle advanced display in a UI-independent way.
@long Cadabra makes available to Python a Server object, which contains functions to send output to the user. When running from the command line this simply prints to the screen, but it can talk to a remote client to display images and maths.
Public Member Functions | |
| send (self, data, typestr, parent_id, cell_id, last_in_sequence) | |
| architecture (self) | |
| test (self) | |
| handles (self, otype) | |
| totals (self) | |
| cadabra2_defaults.Server.architecture | ( | self | ) |
| cadabra2_defaults.Server.handles | ( | self, | |
| otype ) |
| cadabra2_defaults.Server.send | ( | self, | |
| data, | |||
| typestr, | |||
| parent_id, | |||
| cell_id, | |||
| last_in_sequence ) |
Send a message to the client; 'typestr' indicates the cell type, 'parent_id', if non-null, indicates the serial number of the parent cell. If 'cell_id' is not 0, put the output in the cell with that id.
| cadabra2_defaults.Server.test | ( | self | ) |
| cadabra2_defaults.Server.totals | ( | self | ) |