mumax2csv
Converts Mumax3 data table to CSV format
Features
Allows Mumax3 data table to be parsed by various data processing programs other than gnuplot.
Installation
To run mumax2csv, simply install the latest Python version from https://www.python.org/downloads and execute the following command to download mumax2csv from Python Package Index (PyPI):
pip install mumax2csv
Usage
To convert a Mumax3 data table file into CSV, execute the following from the command line/terminal:
python -m mumax2csv path/to/mumax3/datatable.txt
Glob pattern and multiple file arguments are also supported:
#!/bin/bash
# Using the UNIX Glob pattern:
python -m mumax2csv path/to/mumax3/*.txt
# Specifying multiple data table files:
python -m mumax2csv table1.txt table2.txt table3.txt
You can also specify whether the unit name of each column in the data table file should be preserved. This can be achieved by accessing the keep_unit parameter in the converter. The default behavior is False (i.e., omitting the unit name altogether). If you set keep_unit to True, the second row of the output CSV file will keep the unit name information.
Examples on how to set the keep_unit parameter via the terminal:
python -m mumax2csv -k 1 table.txt
python -m mumax2csv --keep-unit false table.txt
# "1" for "true", "0" for "false".
An example on how to set the keep_unit parameter by importing the Python module:
import mumax2csv
mumax2csv.convert(
file_input='path/to/mumax3/datatable.txt',
keep_unit=False
)
Metadata
Release files for mumax2csv 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mumax2csv-0.1.tar.gz | 7.2 kB | Without provenance | Details for mumax2csv-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mumax2csv-0.1-py3-none-any.whl | Python 3 | none | any | Details for mumax2csv-0.1-py3-none-any.whl |
Total release size: 13.9 kB
Release files / mumax2csv-0.1.tar.gz
| Download URL | mumax2csv-0.1.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea653c11606c6b0c17667423b6b1e31cce93de587ee90df9775b1dcbfb70bd05
|
|
BLAKE2b-256 checksum How to use checksums |
a28c67de307d1971c5eabbf5622642e1d9c7e04524850a2a8256b309b3191c42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.3
|
Release files / mumax2csv-0.1-py3-none-any.whl
| Download URL | mumax2csv-0.1-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c80cf4653951cb399d8e3f3dc75db25ccda8e6f8c322f15004c3fa30fbe57314
|
|
BLAKE2b-256 checksum How to use checksums |
369bc89bd4884649a9c298e1bfdb8bfc260c541b6b45b8c5c0555a94296b506b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.3
|
Security for mumax2csv 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.