semvec/pypi-packages huggingface dataset:
spike2loader 0.5
Reads smrx (spike2) files as pandas dataframes
License: MIT
Keywords: python, logging

# Spike2Loader

A simple loader for Spike2 files (.smrx). Note that this package uses the sonpy package provided by spike2 which requires python 3.9.

It provides one executable named `smrx2python` that directly operates on files and a function named `as_python_data` to load an smrx file as a pandas table and numpy arrays.


## smrx2python executable

The usage is the following:

`smrx2python -i MYFILE.smrx`, where *MYFILE.smrx* is the path to your spike2 file.

It will create a tsv file *MYFILE.tsv* and a folder named *MYFILE_data* in the same folder as *MYFILE.smrx*. The contents are:
- *MYFILE.tsv* contains metadata for each channel
- *MYFILE_data* contains an `.npy` file (numpy array) for each channel. 
    - For event channels, the contents of the array are the timing of the events in seconds. 
    Note if the channel is registered as a rise and fall event (*EventBoth* on spike2), then the array will have two columns, one for rise and one for fall.
    - For continuous channels the arrays are simply the set of values at the given sampling frequency (given by *fs* (in Hertz) from *MYFILE.tsv*)


## as_python_data function

Similar to `smrx2python -i MYFILE.smrx` but returns the pandas dataframe and a dictionary of numpy array instead of files.
RsFsw 6.0.0
FSW Spectrum Analyzer Remote-control module
License: MIT
Requires Python: >=3.6

==================================
 RsFsw
==================================

.. image:: https://img.shields.io/pypi/v/RsFsw.svg
   :target: https://pypi.org/project/ RsFsw/

.. image:: https://readthedocs.org/projects/sphinx/badge/?version=master
   :target: https://RsFsw.readthedocs.io/

.. image:: https://img.shields.io/pypi/l/RsFsw.svg
   :target: https://pypi.python.org/pypi/RsFsw/

.. image:: https://img.shields.io/pypi/pyversions/pybadges.svg
   :target: https://img.shields.io/pypi/pyversions/pybadges.svg

.. image:: https://img.shields.io/pypi/dm/RsFsw.svg
   :target: https://pypi.python.org/pypi/RsFsw/

Rohde & Schwarz FSW Spectrum Analyzer RsFsw instrument driver.

Basic Hello-World code:

.. code-block:: python

    from RsFsw import *

    instr = RsFsw('TCPIP::192.168.2.101::hislip0')
    idn = instr.query('*IDN?')
    print('Hello, I am: ' + idn)

Supported instruments: FSW, FSVA3000

The package is hosted here: https://pypi.org/project/RsFsw/

Documentation: https://rohde-schwarz.github.io/RsFsw_PythonDocumentation/

Examples: https://github.com/Rohde-Schwarz/Examples/tree/main/SpectrumAnalyzers/Python/RsFsw_ScpiPackage


Version history
----------------

	Latest release notes summary: Update for FSW FW 6.00

	Version 6.0.0
		- Update for FSW FW 6.00

	Version 5.20.1
		- Updated IQ Analyzer Application commands

	Version 5.20.0
		- Fixed Documentation

	Version 5.0.0
		- First released version
miakosections 0.1.0
miakosections
License: MIT
Requires Python: <3.12,>=3.10.0

# Miakosections

[![PyPI](https://img.shields.io/pypi/v/miakosections.svg)][pypi status]
[![Status](https://img.shields.io/pypi/status/miakosections.svg)][pypi status]
[![Python Version](https://img.shields.io/pypi/pyversions/miakosections)][pypi status]
[![License](https://img.shields.io/pypi/l/miakosections)][license]

[![Documentation](https://github.com/DanBeranek/miakosections/actions/workflows/docs.yml/badge.svg)][documentation]
[![Tests](https://github.com/DanBeranek/miakosections/actions/workflows/tests.yml/badge.svg)][tests]
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=DanBeranek_miakosections&metric=coverage)][sonarcov]
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=DanBeranek_miakosections&metric=alert_status)][sonarquality]

[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)][pre-commit]
[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)][black]
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)][poetry]

[pypi status]: https://pypi.org/project/miakosections/
[documentation]: https://DanBeranek.github.io/miakosections
[tests]: https://github.com/DanBeranek/miakosections/actions?workflow=Tests

[sonarcov]: https://sonarcloud.io/summary/overall?id=DanBeranek_miakosections
[sonarquality]: https://sonarcloud.io/summary/overall?id=DanBeranek_miakosections
[pre-commit]: https://github.com/pre-commit/pre-commit
[black]: https://github.com/psf/black
[poetry]: https://python-poetry.org/

## Features

- TODO

## Requirements

- TODO

## Installation

You can install _Miakosections_ via [pip] from [PyPI]:

```console
pip install miakosections
```

## Usage

Please see the [Reference Guide] for details.

## Contributing

Contributions are very welcome.
To learn more, see the [Contributor Guide].

## License

Distributed under the terms of the [MIT license][license],
_Miakosections_ is free and open source software.

## Issues

If you encounter any problems,
please [file an issue] along with a detailed description.

## Credits

This project was generated from [Statistics Norway]'s [SSB PyPI Template].

[statistics norway]: https://www.ssb.no/en
[pypi]: https://pypi.org/
[ssb pypi template]: https://github.com/statisticsnorway/ssb-pypitemplate
[file an issue]: https://github.com/DanBeranek/miakosections/issues
[pip]: https://pip.pypa.io/

<!-- github-only -->

[license]: https://github.com/DanBeranek/miakosections/blob/main/LICENSE
[contributor guide]: https://github.com/DanBeranek/miakosections/blob/main/CONTRIBUTING.md
[reference guide]: https://DanBeranek.github.io/miakosections/reference.html