Skip to main content

FitsGeo: Python package for PHITS geometry development

Project description

FitsGeo

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.

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

FitsGeo-1.0.0.tar.gz (495.5 kB view details)

Uploaded Source

Built Distribution

FitsGeo-1.0.0-py3-none-any.whl (48.0 kB view details)

Uploaded Python 3

File details

Details for the file FitsGeo-1.0.0.tar.gz.

File metadata

  • Download URL: FitsGeo-1.0.0.tar.gz
  • Upload date:
  • Size: 495.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for FitsGeo-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3529c8b217b90beeba0a3ea2942f3ce79ad6d9cabfcbd8a7f254d3a81c21d9db
MD5 39c65f3de6c80c1b53031ec770fad8c3
BLAKE2b-256 045422fd99ca997f8092b5085348497719f1a6a316d8104196639e30039f0e71

See more details on using hashes here.

File details

Details for the file FitsGeo-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: FitsGeo-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 48.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for FitsGeo-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd0bdd252c97dc46f1b459573bcb8e8e1830b15c244978810aa8e07737f316b6
MD5 6a88e70ef674d1aeba00dad442bba39e
BLAKE2b-256 311223af6992728ec1f3e645fd5a7c40c6731806d83dd7e08c23c084a33effe1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page