IMOD model files as pandas DataFrames in Python.
Project description
imodmodel
[](https://github. com/alisterburt/imodmodel/actions/workflows/ci.yml)
Read IMOD model files as pandas dataframes in Python.
Usage
import imodmodel
df = imodmodel.read('my_model_file.mod')
In [3]: df.head()
Out[3]:
object_id contour_id x y z
0 0 0 64.333336 64.666664 80.0
1 0 0 47.000000 77.333336 80.0
2 0 0 51.333332 45.666668 80.0
3 0 0 87.333336 49.666668 80.0
4 0 0 76.000000 82.000000 80.0
That's it!
Installation
imodmodel
can be installed from the Python Package Index (PyPI)
pip install imodmodel
We recommend installing into a clean virtual environment.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
imodmodel-0.0.7.tar.gz
(11.7 kB
view hashes)
Built Distribution
Close
Hashes for imodmodel-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02b5257ede3be4d8c26f501dd7f078d4ef8a78121c2cc6b5a8aa67a604996b09 |
|
MD5 | 03249b10c6a6145de40beabccb20b204 |
|
BLAKE2b-256 | bb5a8b16831b5d0476f2cc5696c35fbea33201ed0d7ed6754eadfc7e90a38023 |