https://github.com/concept-lab/arvopy

Python interface to compute the analytic volume and area of an ensemble of overlapping spheres via the ARVO method

https://github.com/concept-lab/arvopy

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: sciencedirect.com
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Python interface to compute the analytic volume and area of an ensemble of overlapping spheres via the ARVO method

Basic Info
  • Host: GitHub
  • Owner: concept-lab
  • License: gpl-3.0
  • Language: C
  • Default Branch: master
  • Homepage:
  • Size: 43.9 KB
Statistics
  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 3 years ago · Last pushed over 3 years ago

https://github.com/concept-lab/arvoPY/blob/master/

# arvoPY
Python interface to compute the analytic area and volume of overlapping spheres via the ARVO method.

## Installation
Compile the shared library:

**gcc -fPIC -c arvo.c -lm -std=c99**

**gcc -shared arvo.o -o libArvo.so**

In case some python3 libraries are missing use pip3 install

## Usage
### Store the spheres coordinates in a xyzr file containing 4 columns organized as follows:

| | x | y | z | radius|
| --- | --- | --- | --- | --- |
sphere 1 | | | | |
sphere 2 | | | | |
... | | | | |
sphere n | | | | |
### Run
python3 arco.py *\*

## Credits
The script uses with small modifications the C version of the ARVO softwares (*arvo.c*) for the analytical computation of volume and areas of ensembles of overlapping spheres. This is the core of the program.
The original paper can be found here: [J. Bua Jr. et al., Computer Physics Communications 183 (2012) 24942497](https://www.sciencedirect.com/science/article/pii/S0010465512001580) 

To acnowledge my contribution: Luca Gagliardi -- CONCEPTlab - IIT, *arvoPY*, (2022) GitHub repository.


Owner

  • Name: CONCEPT Lab @ IIT
  • Login: concept-lab
  • Kind: organization
  • Location: Genova, Italy

GitHub Events

Total
Last Year