symmetry-operations-symbols

[ bsd3, chemistry, library ] [ Propose Tags ]

Modules

[Last Documentation]

  • Data
    • Matrix
      • Data.Matrix.SymmetryOperationsSymbols
        • Data.Matrix.SymmetryOperationsSymbols.Calc
        • Data.Matrix.SymmetryOperationsSymbols.Common
        • Data.Matrix.SymmetryOperationsSymbols.GlideOrReflectionCase
        • Data.Matrix.SymmetryOperationsSymbols.Parser
        • Data.Matrix.SymmetryOperationsSymbols.RotInversionCase
        • Data.Matrix.SymmetryOperationsSymbols.RotationCase
        • Data.Matrix.SymmetryOperationsSymbols.Solve
        • Data.Matrix.SymmetryOperationsSymbols.Symbol
        • Data.Matrix.SymmetryOperationsSymbols.SymmetryOperation
        • Data.Matrix.SymmetryOperationsSymbols.UnitMatrixCase

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1.0, 0.0.1.1, 0.0.1.2, 0.0.1.3, 0.0.1.4, 0.0.2.0, 0.0.2.1
Change log ChangeLog.md
Dependencies base (>=4.13 && <5), matrix, matrix-as-xyz (>=0.1 && <1), parsec [details]
License BSD-3-Clause
Copyright Jun Narumi
Author Jun Narumi
Maintainer narumij@gmail.com
Revised Revision 1 made by narumij at 2020-07-21T08:20:01Z
Home page https://github.com/narumij/symmetry-operations-symbols#readme
Bug tracker https://github.com/narumij/symmetry-operations-symbols/issues
Source repo head: git clone https://github.com/narumij/symmetry-operations-symbols
Uploaded by narumij at 2020-07-20T10:25:10Z
Distributions LTSHaskell:0.0.2.1, Stackage:0.0.2.1
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1013 total (20 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2020-07-20 [all 3 reports]

Readme for symmetry-operations-symbols-0.0.1.1

[back to package description]

symmetry-operations-symbols

Haskell Derivation of symbols and coordinate triplets Library

Quickstart

Make new stack project and move to project directory.

% stack new symopRepl
% cd symopRepl

Edit extra-deps part of stack.yaml like below.

extra-deps:
- matrix-as-xyz-0.1.1.1
- symmetry-operations-symbols-0.0.1.1

Then start repl.

% stack repl

Setup packages and load modules.

-- prepare
repl> :set -package hall-symbols
repl> :set -package symmetry-operations-symbols
repl> :m Data.Matrix.AsXYZ Data.Matrix.SymmetryOperationsSymbols

Use like below.

repl> fromMatrix' . fromXYZ $ "x,y,z"
" 1 "

repl> fromMatrix' . fromXYZ $ "-x,-y,z"
" 2  0,0,z"

repl> fromMatrix' . fromXYZ $ "-y,-x+1/2,z"
" g (-1/4,1/4,0) x+1/4,-x,z"

References

  1. W. Fischer. and E. Koch. (2006), Derivation of symbols and coordinate triplets International Tables for Crystallography (2006). Vol. A, Chapter 11.2, pp. 812–816.

  2. Wondratschek, H. & Neubu ̈ser, J. (1967). Determination of the symmetry elements of a space group from the ‘general positions’ listed in International Tables for X-ray Crystallography, Vol. I. Acta Cryst. 23, 349–352.

License

See the LICENSE file in the repository.