Skip to main content

multiplexer-manager package

This package is designed to allow users to manage multiplexer files and process them with a variety of functions (plotting, averaging, linear regression, etc.). So far there is only the capability to import .csv files from the PSTrace software from PalmSens B.V., but in future updates there may even be more flexibility with the multiplexer files that are compatible.

What's new?

  • Fixed smooth()

Installation

To install the package, enter the following into the terminal

pip install multiplexer-manager

Importing

Import the multiplexer-manager module using:

import multiplexermanager as mm

This will give you access to the Multiplexer class as well as various data manipulation and plotting functions.

Multiplexer class

At the core of the multiplexer-manager package is the Multiplexer class. This is a class that produces 4D numpy array objects (channels, experiments, rows, columns) using the 2D arrays (rows + columns) of a .csv file. You can pass a string containing the filename (with path) of your data as an attribute of the class. The 4D array can be accessed by specifying the .array attribute of the class instance.

file = 'C:/Users/User/Documents/data.csv'

data = mm.Multiplexer(file).array

You can also pass in the values

bipot = True

or

bipot = False

to switch between two and four columns per data set, although the default is True, and you can specify the number of channels using

channel = 8

although the default is 16.

Data processing functions

There are a number of function availabe for manipulating data.

logarithm()

Call this function with your data array passed as a parameter, and it will return the array with log10 of every 2 and 4th column.

smooth()

Call this function with your data array passed as a parameter, and it will return the array with every 2 and 4th column smoothed with a moving average. The second function parameter decides the length of the moving average window.

peakfinder()

Call this function with your data array passed as a parameter, and it will return the minimum and maximum current values for each 4th column.

Plotting functions

There are a number of function availabe for manipulating data.

compare_channels()

Call this function with your data array passed and it will plot the same channel over all experiments for every channel.

compare_experiments()

Call this function with your data array passed and it will plot the same experiment with all channels for every experiment.

Release files for multiplexer-manager 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for multiplexer-manager 1.2.1
File Size Uploaded
multiplexer-manager-1.2.1.tar.gz 16.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for multiplexer-manager 1.2.1
File Interpreter ABI Platform
multiplexer_manager-1.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 33.8 kB

Release files / multiplexer-manager-1.2.1.tar.gz

Download URL multiplexer-manager-1.2.1.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
65dc7c08f207d884573e0146aed342b10c8a76e0309c4ef72e87cc27431dc0ff
BLAKE2b-256 checksum
How to use checksums
a31ed3819f2f4a6dad01414d2c87e387f72bd86f0997a55c05430882197f37a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / multiplexer_manager-1.2.1-py3-none-any.whl

Download URL multiplexer_manager-1.2.1-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05d3e5c8758d15dd14d9314ac5146702fa2dea90e437054bdbd2c7281d1221ac
BLAKE2b-256 checksum
How to use checksums
75d9dea7f82cd3e82bb91606047754e9703ad0f50ca5e28dcb5798c2c31c1122
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page