[![Tests](https://github.com/DeepLearnPhysics/larcv3/actions/workflows/test.yaml/badge.svg)](https://github.com/DeepLearnPhysics/larcv3/actions/workflows/test.yaml) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://raw.githubusercontent.com/DeepLearnPhysics/larcv2/develop/LICENSE)
# LArCV (Version 3)
Software framework for image(2D)/volumetric(3D) data processing with APIs to interface deep neural network open-source softwares, written in C++ with extensive Python supports. Originally developed for analyzing data from [time-projection-chamber (TPC)](https://en.wikipedia.org/wiki/Time_projection_chamber). It is now converted to be a generic tool to handle 2D-projected images and 3D-voxelized data. LArCV is particularly suitable for sparse data processing.
## Installation
You can install larcv through pypi: `pip install larcv` and it should work. You can also build from source:
```bash
git clone https://github.com/DeepLearnPhysics/larcv3.git
cd larcv3
git submodule update --init # Pulls pybind11 subpackage
python setup.py build [-j 12] # Optional parallel build for faster compilation
python setup.py install [--user | -prefix ${INSTALLATION_DIR} ]
```
To verify your larcv installation, after install has completed:
```
cd larcv3/tests
py.test .
```
### Dependencies
* Python
* Numpy
* HDF5 (for IO)
* cmake (for building)
* scikit-build (for installation)
* pytest (for continuous integration)
HDF5 and cmake can all be installed by package managers. Conda will also work.
For compilation, a gcc > 4.8 is required. GCC versions 5 to 8 are all known to work, as is clang on MacOS.
To install requirements on ubuntu, you can do:
sudo apt-get install cmake libhdf5-serial-dev python-dev
pip install numpy scikit-build pytest
To install requirements on mac, you can do:
sudo port install cmake hdf5
pip install numpy scikit-build pytest
To install in a generic system, you can try conda or a virtual environment. It has been shown to work on many linux distributions.
<!-- ## Wiki -->
<!-- Checkout the [Wiki](https://github.com/DeepLearnPhysics/larcv3/wiki) for notes on using this code. -->
## Compatibility
larcv3 works on mac and many flavors of linux. It has never been tested on windows as far as I know. If you try to install and need help, please open an Issue.
### Use Cases
Larcv is predominantly used as an IO framework and data preprocessing tool for machine learning and deep learning. It has run on many systems and in many scenarios. Larcv has a suite of test cases available that test the serialization, read back, threaded IO tools, and distributed IO tools.
Larcv has run on some of the biggest systems in the world, including Summit (ORNL) and Theta (ANL). It has been used for distributed io of sparse, non-uniform data up to hundreds of CPUs/GPUs, and had good performance.
If you would like to use larcv for your application and want to benchmark the performance, you are welcome to use the larcv3 open dataset (more info on deeplearnphysics.org) and if you would like help, open an issue or contact the authors directly.
Raw data
{
"_id": null,
"home_page": "https://github.com/DeepLearnPhysics/larcv3",
"name": "larcv",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "larcv larcv3 neutrinos hdf5 h5 deep learning IO sparse",
"author": "['Corey Adams', 'Kazuhiro Terao', 'Taritree Wongjirad', 'Marco del Tutto']",
"author_email": "corey.adams@anl.gov",
"download_url": "https://files.pythonhosted.org/packages/05/f7/10ff3bef4e97f55dbf24724bcf4e9c91438c6bd82cdb8823b2fc501ac887/larcv-3.5.1.tar.gz",
"platform": null,
"description": "[![Tests](https://github.com/DeepLearnPhysics/larcv3/actions/workflows/test.yaml/badge.svg)](https://github.com/DeepLearnPhysics/larcv3/actions/workflows/test.yaml) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://raw.githubusercontent.com/DeepLearnPhysics/larcv2/develop/LICENSE) \n\n# LArCV (Version 3)\nSoftware framework for image(2D)/volumetric(3D) data processing with APIs to interface deep neural network open-source softwares, written in C++ with extensive Python supports. Originally developed for analyzing data from [time-projection-chamber (TPC)](https://en.wikipedia.org/wiki/Time_projection_chamber). It is now converted to be a generic tool to handle 2D-projected images and 3D-voxelized data. LArCV is particularly suitable for sparse data processing.\n\n\n## Installation\n\nYou can install larcv through pypi: `pip install larcv` and it should work. You can also build from source:\n\n```bash\ngit clone https://github.com/DeepLearnPhysics/larcv3.git\ncd larcv3\ngit submodule update --init # Pulls pybind11 subpackage\npython setup.py build [-j 12] # Optional parallel build for faster compilation\npython setup.py install [--user | -prefix ${INSTALLATION_DIR} ] \n```\n\nTo verify your larcv installation, after install has completed:\n```\ncd larcv3/tests\npy.test .\n```\n\n\n### Dependencies\n\n* Python\n* Numpy\n* HDF5 (for IO)\n* cmake (for building)\n* scikit-build (for installation)\n* pytest (for continuous integration)\n\nHDF5 and cmake can all be installed by package managers. Conda will also work.\n\nFor compilation, a gcc > 4.8 is required. GCC versions 5 to 8 are all known to work, as is clang on MacOS.\n\nTo install requirements on ubuntu, you can do:\nsudo apt-get install cmake libhdf5-serial-dev python-dev\npip install numpy scikit-build pytest\n\nTo install requirements on mac, you can do:\nsudo port install cmake hdf5\npip install numpy scikit-build pytest\n\nTo install in a generic system, you can try conda or a virtual environment. It has been shown to work on many linux distributions.\n\n<!-- ## Wiki -->\n\n<!-- Checkout the [Wiki](https://github.com/DeepLearnPhysics/larcv3/wiki) for notes on using this code. -->\n\n\n## Compatibility\n\nlarcv3 works on mac and many flavors of linux. It has never been tested on windows as far as I know. If you try to install and need help, please open an Issue.\n\n### Use Cases\n\nLarcv is predominantly used as an IO framework and data preprocessing tool for machine learning and deep learning. It has run on many systems and in many scenarios. Larcv has a suite of test cases available that test the serialization, read back, threaded IO tools, and distributed IO tools.\n\nLarcv has run on some of the biggest systems in the world, including Summit (ORNL) and Theta (ANL). It has been used for distributed io of sparse, non-uniform data up to hundreds of CPUs/GPUs, and had good performance.\n\nIf you would like to use larcv for your application and want to benchmark the performance, you are welcome to use the larcv3 open dataset (more info on deeplearnphysics.org) and if you would like help, open an issue or contact the authors directly.\n\n\n\n\n\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "C++ IO and Preprocessing package for sparse neutrino data, with H5 for IO and python bindings.",
"version": "3.5.1",
"project_urls": {
"Homepage": "https://github.com/DeepLearnPhysics/larcv3",
"Source Code": "https://github.com/DeepLearnPhysics/larcv3"
},
"split_keywords": [
"larcv",
"larcv3",
"neutrinos",
"hdf5",
"h5",
"deep",
"learning",
"io",
"sparse"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "05f710ff3bef4e97f55dbf24724bcf4e9c91438c6bd82cdb8823b2fc501ac887",
"md5": "0a5defed143e1a0210b84b37a32063ad",
"sha256": "7b3db26fc3fd0d640338896cc6ec1e0802bc042c0e7ad1ea07ff281b0f566ab3"
},
"downloads": -1,
"filename": "larcv-3.5.1.tar.gz",
"has_sig": false,
"md5_digest": "0a5defed143e1a0210b84b37a32063ad",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 62814036,
"upload_time": "2024-06-24T16:16:42",
"upload_time_iso_8601": "2024-06-24T16:16:42.375025Z",
"url": "https://files.pythonhosted.org/packages/05/f7/10ff3bef4e97f55dbf24724bcf4e9c91438c6bd82cdb8823b2fc501ac887/larcv-3.5.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-24 16:16:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "DeepLearnPhysics",
"github_project": "larcv3",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "scikit-build",
"specs": []
},
{
"name": "numpy",
"specs": []
},
{
"name": "h5py",
"specs": []
},
{
"name": "cmake",
"specs": []
}
],
"lcname": "larcv"
}