{ } Raw JSON

bundles / scipy 1.18.0 / scipy / io / matlab / _mio4 / VarWriter4 / write_header

function

scipy.io.matlab._mio4:VarWriter4.write_header

source: /scipy/io/matlab/_mio4.py:472

Signature

def write_header(self, name, shape, P = 0, T = 0, imagf = 0)

Summary

Write header for given data options

Parameters

name : str

name of variable

shape : sequence

Shape of array as it will be read in matlab

P : int, optional

code for mat4 data type, one of miDOUBLE, miSINGLE, miINT32, miINT16, miUINT16, miUINT8

T : int, optional

code for mat4 matrix class, one of mxFULL_CLASS, mxCHAR_CLASS, mxSPARSE_CLASS

imagf : int, optional

flag indicating complex

Aliases

  • scipy.io.matlab._mio4.VarWriter4.write_header