🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

poreprober

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

poreprober

Getting basic structural descriptors for porous materials

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

poreprober

NPM version build status npm download

Getting basic structural descriptors for porous materials.

The current version implements the overlapping spheres (OSA) approach, using atomic radii from the universal force field (UFF).

The calculated descriptors are defined as follows:

The porosity we return is the fraction between the void volume and the total volume

with the total volume given by the cell vectors

and the void volume as

where the occupied volume is given as the sum of the radii of the atoms, substracting overlaps between the atoms and periodic boundary conditions (PBC)

Installation

$ npm i poreprober

Usage

import PoreMat from 'poreprober';

let mof = PoreMat(<ciffile>);

const density = mof.density;
const volume = mof.volume;
const porosity = mof.porosity;

API Documentation

License

MIT

FAQs

Package last updated on 07 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts