Speasy
Installation
Speasy concepts
Data Providers
Examples gallery
Plotting
NumPy compatibility
SciPy compatibility
Configuration
Developer documentation
History
Contributing
Credits
Speasy
speasy.core.codecs.bundled_codecs.hapi.writer module
View page source
speasy.core.codecs.bundled_codecs.hapi.writer module
speasy.core.codecs.bundled_codecs.hapi.writer.
make_headers
(
hapi_file
:
HapiFile
,
fmt
:
str
,
start_date
:
str
|
datetime
|
float64
|
float
|
datetime64
|
None
=
None
,
stop_date
:
str
|
datetime
|
float64
|
float
|
datetime64
|
None
=
None
)
→
Dict
[
str
,
Any
]
[source]
speasy.core.codecs.bundled_codecs.hapi.writer.
save_hapi
(
hapi_file
:
HapiFile
,
file
:
str
|
IOBase
|
None
,
to_func
:
Callable
[
[
HapiFile
,
IO
[
bytes
]
,
Dict
[
str
,
Any
]
|
None
]
,
bool
]
|
None
,
headers
:
Dict
[
str
,
Any
]
|
None
=
None
,
mode
:
str
=
'wb'
)
→
bool
|
memoryview
|
bytearray
|
bytes
[source]