field
Parser of legacy field output.
istep
Read istep from binary field file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
fieldfile
|
Path
|
path of the binary field file. |
required |
Returns:
| Type | Description |
|---|---|
int | None
|
the time step at which the binary file was written. |
header
Read header info from binary field file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
fieldfile
|
Path
|
path of the binary field file. |
required |
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
the header information of the binary file. |
field
Extract fields data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
fieldfile
|
Path
|
path of the binary field file. |
required |
Returns:
| Type | Description |
|---|---|
tuple[dict[str, Any], NDArray[float64]] | None
|
the tuple |