tools for extracting data from vector plots
Project description
vector-plot-extractor
tools for extracting data from vector plots
This Python package has been tested on various PDF files, including example.pdf, under normal usage conditions. However, it has not undergone comprehensive testing and optimization yet. I will improve it in the future. Your suggestions and contributions are welcome.
Documentation is currently in progress. Stay tuned for updates!
Dependencies
This package mainly depends on the following packages:
- matplotlib
- numpy
- pymupdf
These will be automatically installed when running pip install
.
Installation
To install this package, you can simply use pip
:
pip install vector-plot-extractor
If you would like to try the latest development version, you may directly install from the project repository by:
pip install git+https://github.com/ycwang-astro/vector-plot-extractor.git
Usage
To execute the main UI, run this in your terminal
vpextract path/to/figure/file
To import this package in a Python script:
import vpextractor
Notice
A bug in version 0.1.1 causes minor errors in the extracted scatter data. If you have used 0.1.1 version, follow the steps in the changelog ("Notes" under "0.1.2") to fix it.
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
Hashes for vector-plot-extractor-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17ba4f2ee3563f5f4ee317056271c39a72e921bd13768822cf9fc0e64b20f5d4 |
|
MD5 | e2b774d3d29606b7fd82e26f56edfae2 |
|
BLAKE2b-256 | 3d20e319f0773caebfdc3912f9bcd4ee491fa8c9ee95859f6e1eded634618546 |
Hashes for vector_plot_extractor-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 952e43b66ebe4cc70e9e0b85f9af50a03c06fd7c89a13f1e3f2c8382bbc8e19c |
|
MD5 | d9a8b1e716d9a93dca1d34b8c640ec22 |
|
BLAKE2b-256 | 938a6a45773e1604c9c4b8cc4c76237c8fc387afcecc1b23bdea55100842c6c7 |