PSCF v1.1
|
Module for parsing field files. More...
Classes | |
class | Field |
Container for data in a PSCF field file. More... | |
Functions | |
def | getValue (v) |
Distinguish the correct type of the value from a string. More... | |
Module for parsing field files.
def pscfpp.field.getValue | ( | v | ) |
Distinguish the correct type of the value from a string.
This function is a helper function to read a open-file object. It distinguishes the correct type of the value from a string to either integer, float or string.
Return value:
The exact value with the correct type.
v | a string represents a value. |
Definition at line 374 of file field.py.
Referenced by pscfpp.field.Field.read().