module
Chem::Cube
Defined in:
chem/formats/cube.crClass Method Summary
-
.read(io : IO) : Spatial::Grid
Returns the grid from io.
-
.read(path : Path | String) : Spatial::Grid
Returns the grid from path.
-
.read_info(io : IO) : Spatial::Grid::Info
Returns the grid information from io without reading the data.
-
.read_info(path : Path | String) : Spatial::Grid::Info
Returns the grid information from path without reading the data.
-
.read_structure(io : IO) : Structure
Returns the structure from io without reading the data.
-
.read_structure(path : Path | String) : Structure
Returns the structure from path without reading the data.
-
.write(io : IO, grid : Spatial::Grid, atoms : AtomView | Structure) : Nil
Writes a grid to io.
-
.write(path : Path | String, grid : Spatial::Grid, atoms : AtomView | Structure) : Nil
Writes a grid to path.
Class Method Detail
def self.read_info(io : IO) : Spatial::Grid::Info
#
Returns the grid information from io without reading the data.
Returns the grid information from path without reading the data.
Returns the structure from io without reading the data.
Returns the structure from path without reading the data.
Writes a grid to io.
The structure or group of atoms is written in the header.
Writes a grid to path.
The structure or group of atoms is written in the header.