Skip to content

Commit

Permalink
release-0.0.1: Updated readme with example usage and liks to main WS
Browse files Browse the repository at this point in the history
  • Loading branch information
boazmohar committed Oct 12, 2017
1 parent 232efc2 commit a0e5375
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,29 @@
PyWaveSurfer
============

PyWaveSurfer is a Python package for reading WaveSurfer data into
Python.
PyWaveSurfer is a Python package for reading data acquired using WaveSurfer.


See the `official site <http://wavesurfer.janelia.org/>`_ for more information about WaveSurfer.


Example usage
-------------

.. code-block:: python
from pywavesurfer import ws
# to get analog channels scaled in float64 :
data_as_dict = ws.loadDataFile(filename='path/to/file.h5', format_string='double' )
# to get analog channels scaled in float32:
data_as_dict = ws.loadDataFile(filename='path/to/file.h5', format_string='single' )
# to get the raw analog channels in int16:
data_as_dict = ws.loadDataFile(filename='path/to/file.h5', format_string='raw' )
Description of the content can be found in the documentation
`here <http://wavesurfer.janelia.org/manual/index.html#reading-acquired-data>`_.

Copyright
---------

Expand Down

0 comments on commit a0e5375

Please sign in to comment.