Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
cad317f
updated setup for dev install
JacobTh98 Jan 9, 2025
ba90c7a
return class data
JacobTh98 Jan 22, 2025
b6fc787
close HS port
JacobTh98 Jul 7, 2025
359a983
renamed for EIT
JacobTh98 Oct 15, 2025
c9dc1fa
Started EIS package implementation
JacobTh98 Oct 15, 2025
7ad1f90
v and readme
JacobTh98 Oct 15, 2025
dccba45
docstrings
JacobTh98 Oct 16, 2025
f16c568
ISX-3 start
JacobTh98 Oct 16, 2025
cdf1e98
ISX-3 impl start
JacobTh98 Oct 16, 2025
6c91864
ign developements
JacobTh98 Oct 16, 2025
f24159f
moved image
JacobTh98 Oct 16, 2025
f3381b4
docu and changes
JacobTh98 Oct 16, 2025
5c24452
documentation
JacobTh98 Oct 16, 2025
4ef438d
shinx lint check
JacobTh98 Oct 16, 2025
c47c444
shinx/img update
JacobTh98 Oct 16, 2025
6e93e6b
image
JacobTh98 Oct 16, 2025
4f34836
pytest 0.8.2.2
JacobTh98 Oct 16, 2025
cf72f84
uncomment deployment
JacobTh98 Oct 16, 2025
2b3dab1
Merge branch 'master' into develop
JacobTh98 Oct 16, 2025
a3cf5e6
upd readme
JacobTh98 Oct 16, 2025
5a15b2f
FTDI connection wip
JacobTh98 Oct 16, 2025
a8c5e41
upd EIT example
JacobTh98 Oct 21, 2025
3dbc91f
upd EIT example
JacobTh98 Oct 21, 2025
33214e8
Pypi-test-v0.8.2.3
JacobTh98 Oct 21, 2025
e6d4258
Added function for setting measurement mode
patfuchs Nov 26, 2025
8460792
USB Message Parser
patfuchs Dec 1, 2025
2cdf44d
Integration of USB Message Parser to EITclass
patfuchs Dec 1, 2025
760f591
Debugging 1
Dec 2, 2025
2bbd047
Debugging
patfuchs Dec 3, 2025
f1a5c12
Additional datatype conversions
patfuchs Dec 3, 2025
6af9b98
Refactoring of all datatype conversion into new file
patfuchs Dec 3, 2025
b78068d
Documentation, Refactoring and new data saving functions
patfuchs Dec 4, 2025
3e584d9
Black formatting
patfuchs Dec 4, 2025
16bfa25
Updated timestamp saving
patfuchs Dec 12, 2025
0becb7e
Updating
patfuchs Dec 19, 2025
d263b59
Black formatting
patfuchs Jan 26, 2026
9975a52
Example for message parser
patfuchs Jan 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build docs

on:
push:
branches: [ main, master, develop ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r docs/requirements.txt
pip install -e .

- name: Build Sphinx docs
working-directory: docs
run: make html
40 changes: 37 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
__pycache__/
manuals
error_device_logs
build/
dist/
.update_package.sh.swp
.eggs/
sciopy.egg-info/
Expand All @@ -22,3 +19,40 @@ examples/measuremet_16/*
examples/measuremet_32/*
sciopy/eth_*
Driver
ISX3-dev.ipynb
update_docu.md

# Python
__pycache__/
*.py[cod]
*.egg-info/
dist/
build/

# virtualenvs
.env/
.venv/
.docs-venv/
docs-venv/
venv/
venv*/

# Sphinx build outputs & doctrees
docs/_build/
docs/_doctrees/
_build/
.doctrees/

# Sphinx cache / temp
docs/.doctrees/
*.doctree

# OS / editor files
.DS_Store
Thumbs.db
.idea/
.vscode/

# pip / wheel cache (optional)
pip-wheel-metadata/
*.whl
12 changes: 12 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.12"
python:
install:
- method: pip
path: .
- requirements: docs/requirements.txt
requests:
- type: github
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
<img src="https://raw.githubusercontent.com/spatialaudio/sciopy/main/doc/images/logo_sciopy.jpg" alt="Bildbeschreibung" width="200"/>
<img src="https://raw.githubusercontent.com/EITLabworks/sciopy/develop/docs/_static/logo_sciopy.jpg" alt="Sciopy-logo" width="200"/>

This package offers the serial interface for communication with an EIT device from ScioSpec. Commands can be written serially and the system response can be read out. With the current version, it is possible to start and stop measurements with defined burst counts and to read out the measurement data. In addition, the measurement data is packed into a data class for better further processing.

**WIP** Communication with ISX-3

## Contact

If you have ideas or other advice don't hesitate to contact me!
If you have any ideas or other suggestions, please don't hesitate to contact me.

Email: jacob.thoenes@uni-rostock.de

___

- FTDI Driver installation: https://www.ftdichip.com/old2020/Drivers/D2XX.htm
18 changes: 18 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Minimal Makefile for Sphinx
SPHINXBUILD = sphinx-build
SOURCEDIR = .
BUILDDIR = _build

.PHONY: help html clean

help:
@echo "Please use 'make <target>' where <target> is one of"
@echo " html to build the documentation"
@echo " clean to remove build artifacts"

html:
$(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)" -a -E

clean:
@rm -rf $(BUILDDIR)/*
@echo "Cleaned build artifacts"
45 changes: 45 additions & 0 deletions docs/_autosummary/sciopy.EIT_16_32_64_128.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
sciopy.EIT\_16\_32\_64\_128
===========================

.. currentmodule:: sciopy

.. autoclass:: EIT_16_32_64_128


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~EIT_16_32_64_128.GetDeviceInfo
~EIT_16_32_64_128.GetFirmwareIDs
~EIT_16_32_64_128.GetMeasurementSetup
~EIT_16_32_64_128.GetOutputConfiguration
~EIT_16_32_64_128.PowerPlugDetect
~EIT_16_32_64_128.ResetMeasurementSetup
~EIT_16_32_64_128.SaveSettings
~EIT_16_32_64_128.SetMeasurementSetup
~EIT_16_32_64_128.SetOutputConfiguration
~EIT_16_32_64_128.SoftwareReset
~EIT_16_32_64_128.StartStopMeasurement
~EIT_16_32_64_128.SystemMessageCallback
~EIT_16_32_64_128.SystemMessageCallback_usb_fs
~EIT_16_32_64_128.SystemMessageCallback_usb_hs
~EIT_16_32_64_128.__init__
~EIT_16_32_64_128.connect_device_FS
~EIT_16_32_64_128.connect_device_HS
~EIT_16_32_64_128.disconnect_device
~EIT_16_32_64_128.get_data_as_matrix
~EIT_16_32_64_128.init_channel_group
~EIT_16_32_64_128.update_BurstCount
~EIT_16_32_64_128.update_ExcitationFrequency
~EIT_16_32_64_128.update_FrameRate
~EIT_16_32_64_128.write_command_string






45 changes: 45 additions & 0 deletions docs/_autosummary/sciopy.ISX_3.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
sciopy.ISX\_3
=============

.. currentmodule:: sciopy

.. autoclass:: ISX_3


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~ISX_3.Action
~ISX_3.GetDeviceID
~ISX_3.GetExtensionPortChannel
~ISX_3.GetExtensionPortModule
~ISX_3.GetFE_Settings
~ISX_3.GetFPGAfirmwareID
~ISX_3.GetOptions
~ISX_3.GetSetup
~ISX_3.GetSyncTime
~ISX_3.ResetSystem
~ISX_3.SetExtensionPortChannel
~ISX_3.SetFE_Settings
~ISX_3.SetMeasurementSetup
~ISX_3.SetOptions
~ISX_3.SetSetup
~ISX_3.SetSyncTime
~ISX_3.StartMeasure
~ISX_3.SystemMessageCallback
~ISX_3.__init__
~ISX_3.connect_device_FTDI
~ISX_3.disconnect_device_FTDI
~ISX_3.info
~ISX_3.list_usb_devices
~ISX_3.write_command_string






22 changes: 22 additions & 0 deletions docs/_autosummary/sciopy.com_util.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
sciopy.com\_util
================

.. automodule:: sciopy.com_util


.. rubric:: Functions

.. autosummary::

available_serial_ports
bytesarray_to_byteslist
bytesarray_to_float
bytesarray_to_int
clTbt_dp
clTbt_sp
del_hex_in_list
parse_single_frame
reshape_full_message_in_bursts
single_hex_to_int
split_bursts_in_frames

18 changes: 18 additions & 0 deletions docs/_autosummary/sciopy.doteit.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
sciopy.doteit
=============

.. automodule:: sciopy.doteit


.. rubric:: Functions

.. autosummary::

convert_fulldir_doteit_to_npz
convert_fulldir_doteit_to_pickle
doteit_in_SingleEitFrame
list_all_files
list_eit_files
load_pickle_to_dict
single_eit_in_pickle

15 changes: 15 additions & 0 deletions docs/_autosummary/sciopy.meshing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
sciopy.meshing
==============

.. automodule:: sciopy.meshing


.. rubric:: Functions

.. autosummary::

add_circle_anomaly
create_empty_2d_mesh
mesh_sample
plot_mesh

6 changes: 6 additions & 0 deletions docs/_autosummary/sciopy.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sciopy
======

.. automodule:: sciopy


17 changes: 17 additions & 0 deletions docs/_autosummary/sciopy.sciopy_dataclasses.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
sciopy.sciopy\_dataclasses
==========================

.. automodule:: sciopy.sciopy_dataclasses


.. rubric:: Classes

.. autosummary::

EisMeasurementSetup
EitMeasurementSetup
PreperationConfig
ScioSpecMeasurementConfig
SingleEitFrame
SingleFrame

14 changes: 14 additions & 0 deletions docs/_autosummary/sciopy.visualization.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
sciopy.visualization
====================

.. automodule:: sciopy.visualization


.. rubric:: Functions

.. autosummary::

norm_data
plot_el_sign
plot_potential_matrix

File renamed without changes
14 changes: 14 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
API reference
=============

.. autosummary::
:toctree: _autosummary

sciopy
sciopy.com_util
sciopy.doteit
sciopy.EIT_16_32_64_128
sciopy.ISX_3
sciopy.meshing
sciopy.sciopy_dataclasses
sciopy.visualization
Loading