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

Function write_double

mne/_fiff/write.py:87–91  ·  view source on GitHub ↗

Write a double-precision floating point tag to a fif file.

(fid, kind, data)

Source from the content-addressed store, hash-verified

85
86
87def write_double(fid, kind, data):
88 """Write a double-precision floating point tag to a fif file."""
89 data_size = 8
90 data = np.array(data, dtype=">f8").T
91 _write(fid, data, kind, data_size, FIFF.FIFFT_DOUBLE, ">f8")
92
93
94def write_float(fid, kind, data):

Callers 2

_write_annotationsFunction · 0.85
_write_covFunction · 0.85

Calls 1

_writeFunction · 0.85

Tested by

no test coverage detected