IMOD models as pandas DataFrames
Project description
imodmodel
IMOD model files as pandas dataframes in Python.
Installation
imodmodel
can be installed from the Python Package Index (PyPI)
pip install imodmodel
We recommend installing into a clean virtual environment.
Usage
import imodmodel
df = imodmodel.read('my_model_file.mod')
In [3]: df.describe()
Out[3]:
object_id contour_id x y z
count 25.0 25.000000 25.000000 25.000000 25.000
mean 0.0 0.320000 65.413334 63.240001 73.280
std 0.0 0.476095 29.576687 28.116082 9.998
min 0.0 0.000000 10.666667 4.333333 59.000
That's it!
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.6.tar.gz
(11.2 kB
view hashes)
Built Distribution
Close
Hashes for imodmodel-0.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05d30022d1c2f559d62f646a3458c9e0ed00abe7df9ec3fbee5755bae3da411a |
|
MD5 | 99b2a191ed7e812e0af6e89124ac88ec |
|
BLAKE2b-256 | 129d0717edc1d75f4d52b69247772ee69a9dfe701bd29ca70c1bd6c1cd7ecd4a |