A tool for pre-processing MESA2.0 measurement data
Project description
MESA2.0 Preprocessing Tool
This package provides a set of tools designed for pre-processing MESA2.0 measurement data. It includes functionality to read, merge, and process measurement data efficiently.
Features
- Read data from
.dat
and associated binary files. - Merge data from different sources like TDMS and DAT files.
- Export processed data to various formats such as CSV and Parquet.
- Handle metadata and unit conversions.
Installation
Install mesa2_preprocessing
using pip:
pip install mesa2_preprocessing
Usage
Here is a simple example of how to use the package:
from mesa2_preprocessing import dat_to_df, create_merged_tdms
# Convert a DAT file to a DataFrame
df = dat_to_df('path_to_your_dat_file.dat')
# Create a merged TDMS file from DAT and TDMS sources
create_merged_tdms('path_to_your_tdms_file.tdms', 'path_to_your_dat_file.dat', 'output_directory')
Dependencies
- Python >= 3.8
- pandas
- pyarrow
- fastparquet
- numpy
- nptdms
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mesa2_preprocessing-0.4.0.tar.gz
.
File metadata
- Download URL: mesa2_preprocessing-0.4.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f66e32068aa37ace097338f28f76c9dc83e1b194f0e11c0cbee2faa9366f028 |
|
MD5 | 67fc00741c636c0c0f7fceadeecfa31a |
|
BLAKE2b-256 | 6232bf1fd5aabe2653e2831e78309057ab2c8dfc57737b971cf02984c4f4f75b |
File details
Details for the file mesa2_preprocessing-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: mesa2_preprocessing-0.4.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32377baf81f121c9dba2204764fe1ac598f71e1327899f8523f949896ef3f305 |
|
MD5 | 62742199141ba081bc231db8b731727c |
|
BLAKE2b-256 | 723e6135d9bff8df67e19cb84d99278cb05364bab168a960f0460966e043d47b |