Skip to content

Commit 52ece00

Browse files
author
Jisk Attema
committed
Add html directory with prebuilt docs
1 parent bd18b75 commit 52ece00

28 files changed

Lines changed: 15209 additions & 0 deletions

html/.buildinfo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Sphinx build info version 1
2+
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: fb7c09e5c7c69d6395d49b08efd6e1dc
4+
tags: 645f666f9bcd5a90fca523b33c5a78b7

html/_sources/apidoc.rst.txt

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
.. psrdada-python documentation master file, created by
2+
sphinx-quickstart on Wed Jun 5 16:04:58 2019.
3+
You can adapt this file completely to your liking, but it should at least
4+
contain the root `toctree` directive.
5+
6+
7+
Api documentation
8+
=================
9+
10+
.. automodule:: psrdada
11+
12+
13+
Ringbuffer
14+
----------
15+
16+
.. py:class:: Ringbuffer
17+
18+
.. py:attribute:: isConnected
19+
20+
Boolean; indicates if the Ringbuffer instance is connected to a
21+
running dada_db.
22+
23+
.. py:attribute:: isHoldingPage
24+
25+
Boolean; indicates if the Ringbuffer instance is currently holding a page;
26+
ie. has exclusive write access to it for Writers, or is preventing it from
27+
being rewritten for Readers.
28+
29+
.. py:attribute:: isEndOfData
30+
31+
Boolean; indicates if the EOD flag has been set on the Ringbuffer. Used
32+
to implement iterators for the Reader and Writer classes.
33+
34+
.. py:attribute:: header
35+
36+
dict; contains a copy of the last read header. For Readers, the original
37+
un-parsed header is available under the __RAW_HEADER__ key.
38+
39+
Reader
40+
------
41+
42+
.. autoclass:: Reader
43+
:show-inheritance:
44+
:members:
45+
46+
Writer
47+
------
48+
49+
.. autoclass:: Writer
50+
:show-inheritance:
51+
:members:

html/_sources/basic.rst.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Basic example
2+
-------------
3+
4+
Using iterators
5+
~~~~~~~~~~~~~~~
6+
7+
Connect to and read from a PSRDada ringbuffer in a pythonic way, using
8+
the Iterator interface:
9+
10+
.. literalinclude:: ../examples/sum_with_iterator.py
11+
12+
Explicit ringbuffer control
13+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
14+
15+
For usecases that require a more finegrained flow control, there is a
16+
more C-like API:
17+
18+
.. literalinclude:: ../examples/sum_no_iterator.py
19+
20+
More examples
21+
~~~~~~~~~~~~~
22+
23+
For more examples, see the *examples* and *tests* directories in the repo.
24+
Examples cover writing to the ringbuffer, reading and writing header data, and dealing with EndOfData.
25+
EndOfData is used by *dada_dbevent* to send independent datasets through a ringbuffer, instead of a single continuous stream.

html/_sources/genindex.rst.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Index
2+
=====
3+
4+
`genindex`

html/_sources/index.rst.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.. psrdada-python documentation master file, created by
2+
sphinx-quickstart on Wed Jun 5 16:04:58 2019.
3+
You can adapt this file completely to your liking, but it should at least
4+
contain the root `toctree` directive.
5+
6+
Welcome to psrdada-python's documentation
7+
=========================================
8+
9+
.. automodule:: psrdada
10+
:noindex:
11+
12+
.. toctree::
13+
14+
basic
15+
apidoc
16+
genindex

0 commit comments

Comments
 (0)