معرفی شرکت ها


dagmc-bounding-box-0.2.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Find the bounding box and other related properties of a DAGMC h5m file
ویژگی مقدار
سیستم عامل -
نام فایل dagmc-bounding-box-0.2.1
نام dagmc-bounding-box
نسخه کتابخانه 0.2.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده The dagmc_bounding_box Development Team
ایمیل نویسنده mail@jshimwell.com
آدرس صفحه اصلی https://github.com/fusion-energy/dagmc_bounding_box
آدرس اینترنتی https://pypi.org/project/dagmc-bounding-box/
مجوز MIT
[![N|Python](https://www.python.org/static/community_logos/python-powered-w-100x40.png)](https://www.python.org) [![CI with install](https://github.com/fusion-energy/dagmc_bounding_box/actions/workflows/ci_with_install.yml/badge.svg)](https://github.com/fusion-energy/dagmc_bounding_box/actions/workflows/ci_with_install.yml) [![PyPI](https://img.shields.io/pypi/v/dagmc_bounding_box?color=brightgreen&label=pypi&logo=grebrightgreenen&logoColor=green)](https://pypi.org/project/paramak/) [![anaconda-publish](https://github.com/fusion-energy/dagmc_bounding_box/actions/workflows/anaconda-publish.yml/badge.svg)](https://github.com/fusion-energy/dagmc_bounding_box/actions/workflows/anaconda-publish.yml) # Features Finds the bounding box of a DAGMC geometry file. The bounding box is a pair of coordinates that define the upper right and lower left corner of the geometry. This which is particularly useful when assigning a regular mesh tally over the entire DAGMC geometry. # Installation Using Pip ```bash pip install dagmc_bounding_box ``` Using Conda ```bash conda install -c fusion-energy -c conda-forge dagmc_bounding_box ``` # Usage Find the bounding box ```python from dagmc_bounding_box import DagmcBoundingBox my_corners = DagmcBoundingBox("dagmc.h5m").corners() print(my_corners) >>> ((-100, -100, -100), (100, 100, 100)) ``` Extend the bounding box ```python from dagmc_bounding_box import DagmcBoundingBox my_corners = DagmcBoundingBox("dagmc.h5m").corners(extend=(10, 5, 2) print(my_corners) >>> ((-110, -105, -102), (110, 105, 102)) ```


نیازمندی

مقدار نام
- h5py
- meshio
- trimesh
>=5.4.3 pytest
- pytest-cov


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl dagmc-bounding-box-0.2.1:

    pip install dagmc-bounding-box-0.2.1.whl


نصب پکیج tar.gz dagmc-bounding-box-0.2.1:

    pip install dagmc-bounding-box-0.2.1.tar.gz