MCPcopy
hub / github.com/mne-tools/mne-python / write_complex64

Function write_complex64

mne/_fiff/write.py:108–112  ·  view source on GitHub ↗

Write a 64 bit complex floating point tag to a fif file.

(fid, kind, data)

Source from the content-addressed store, hash-verified

106
107
108def write_complex64(fid, kind, data):
109 """Write a 64 bit complex floating point tag to a fif file."""
110 data_size = 8
111 data = np.array(data, dtype=">c8").T
112 _write(fid, data, kind, data_size, FIFF.FIFFT_COMPLEX_FLOAT, ">c8")
113
114
115def write_complex128(fid, kind, data):

Callers

nothing calls this directly

Calls 1

_writeFunction · 0.85

Tested by

no test coverage detected