-
Notifications
You must be signed in to change notification settings - Fork 29
Ring() API
Danny Price edited this page Jul 14, 2016
·
1 revision
A block with an output Ring
writes data to the output in the following way:
with self.oring.begin_writing() as oring:
with oring.begin_sequence(filename, header=ohdr) as osequence:
with osequence.reserve(gulp_nbyte) as wspan:
data = data.view('uint8').ravel()
wspan.data[0][:] = data
The with
statements ensure that the __exit__
routine runs to close files / locations. [ MORE DETAIL LATER]
- Home
- Introductions and examples
- Getting started guide
- Common installation and execution problems
- Some helpful tips and warnings
- Reference guides
- Python API
- Ring() API
- C++ Development