GithubHelp home page GithubHelp logo

molbox's Introduction

molbox

CI codecov

A generic Box implementation for molecular simulation objects.

This project is a fork of mbuild providing a generic Box object to be used with molecular simulation objects.

Usage

This package provides a single Box class:

from molbox import Box
# Create a box using lengths and angles
box = Box(lengths=[2, 3, 4], angles=[90, 90, 120], precision=5)
print("Box Attributes:")
print(f"Lengths(x, y, z): ({box.Lx}, {box.Ly}, {box.Lz})")
print(f"Tilt Factors(xy, yz, xz): ({box.xy}, {box.yz}, {box.xz}")
print(f"Vectors: {box.vectors}")
# Create a box from box vectors
from_vec_box = Box.from_vectors([[2, 0, 0], [-1.5, 2.59808, 0], [0, 0, 4]])

API

Full documentation can be accessed here.

Copyright

Copyright (c) 2021, Vanderbilt University

Acknowledgements

Project based on the Computational Molecular Science Python Cookiecutter version 1.5.

molbox's People

Contributors

ahy3nz avatar argon1999 avatar bc118 avatar bdice avatar calcraven avatar chenqile09 avatar chrisiacovella avatar chrisjonesbsu avatar ctk3b avatar daico007 avatar ftiet avatar jennyfothergill avatar jonestj1 avatar jpotoff avatar justingilmer avatar mattwthompson avatar pre-commit-ci[bot] avatar rmatsum836 avatar rsdefever avatar sallai avatar sperka avatar summeraz avatar tcmoore3 avatar umesh-timalsina avatar uppittu11 avatar whitead avatar witteaj avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.