FitsGeo
FitsGeo is a Python package simplifying time consuming part of work related to geometry development in particle transport Monte Carlo code PHITS, other codes like MCNP, FLUKA could be added in the future releases. To start MC calculations user need to create so-called input file for PHITS code and default way of creation geometry section in this input file may be a bit difficult especially with complicated geometry cases. Also, visualization of created geometry in PHITS is limited to only 2D non-interactive representation which makes process of geometry construction way more difficult. FitsGeo simplifies this process, user can define geometry surfaces as Python objects with all coming benefits. Visualization based on VPython, so all defined surfaces in user geometry is represented in 3D and can be viewed in browser from any side. In addition to surfaces, user can also define materials and cells as objects.
FitsGeo provides bunch of modules dedicated to generation of certain sections of PHITS input files. FitsGeo works under any operating system --- only Python 3 interpreter with additional modules have to be installed. Very basic skills in programming with Python required. FitsGeo package provides bunch of usage examples, therefore, even for the new Python user it will be easy to develop their own geometries for future research.
Quick installation guide
Install latest Python 3 interpreter and pip tool, then type in console:
pip install fitsgeo
or:
pip3 install fitsgeo
This command will automatically download package and all dependencies.
Requirements
Additional modules for FitsGeo use (automatically install via pip tool):
- vpython>=7.6.1
- numpy>=1.16.2
- scipy>=1.2.2
- pandas>=0.25.1
All modules listed in requirements.txt.
Documentation
Please visit FitsGeo Documentation for more detailed instructions.
Metadata
Release files for FitsGeo 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| FitsGeo-1.0.0.tar.gz | 495.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| FitsGeo-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 543.5 kB
Release files / FitsGeo-1.0.0.tar.gz
| Download URL | FitsGeo-1.0.0.tar.gz |
|---|---|
| Size | 495.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3529c8b217b90beeba0a3ea2942f3ce79ad6d9cabfcbd8a7f254d3a81c21d9db
|
|
BLAKE2b-256 checksum How to use checksums |
045422fd99ca997f8092b5085348497719f1a6a316d8104196639e30039f0e71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2
|
Release files / FitsGeo-1.0.0-py3-none-any.whl
| Download URL | FitsGeo-1.0.0-py3-none-any.whl |
|---|---|
| Size | 48.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd0bdd252c97dc46f1b459573bcb8e8e1830b15c244978810aa8e07737f316b6
|
|
BLAKE2b-256 checksum How to use checksums |
311223af6992728ec1f3e645fd5a7c40c6731806d83dd7e08c23c084a33effe1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2
|