pyyeti.nastran.op2.OP2.rdop2record¶
- OP2.rdop2record(form=None, N=0)[source]¶
Read Nastran output2 data record.
- Parameters:
form (string or None; optional) – String specifying format, or None to read in signed integers. One of:
'int' (same as None) 'uint' 'single' 'double' 'bytes' -- raw bytes from file
N (integer; optional) – Number of elements in final data record; use 0 if unknown.
- Returns:
rec (1d ndarray, bytes string, or None) – Typically returns 1d ndarray or, if
form == 'bytes', a bytes string. None is returned if the end-of-data block has been reached.
Notes
This routine will read in a ‘super’ record if the data spans more than one logical record.