seitz-symbol: Read and Display Seitz Symbol

[ chemistry, library, mit ] [ Propose Tags ] [ Report a vulnerability ]

Please see the README on GitHub at https://github.com/narumij/seitz-symbol#readme


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Change log ChangeLog.md
Dependencies base (>=4.8 && <5), matrix (>=0.1 && <0.4), matrix-as-xyz (>=0.1.1 && <0.2), parsec (>=3 && <4), symmetry-operations-symbols (>=0.0.2.1 && <0.1) [details]
License MIT
Copyright Jun Narumi
Author Jun Narumi
Maintainer narumij@gmail.com
Category Chemistry
Home page https://github.com/narumij/seitz-symbol#readme
Bug tracker https://github.com/narumij/seitz-symbol/issues
Source repo head: git clone https://github.com/narumij/seitz-symbol
Uploaded by narumij at 2020-08-09T11:55:32Z
Distributions
Downloads 229 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-08-09 [all 1 reports]

Readme for seitz-symbol-0.1.0.0

[back to package description]

seitz-symbol

Continuous Integration status Hackage page (downloads and API reference) Hackage-Deps

Read and Display Seitz Symbol

Quickstart

Make new stack project and move to project directory.

% stack new symopRepl
% cd symopRepl

Edit your stack.yaml and set the following:

extra-deps:
- matrix-as-xyz-0.1.2.2@sha256:9ba89fbcc029fc769eac26d10460de093c8e6bbbcb60385a3990aadd3f2a27bb,2071
- symmetry-operations-symbols-0.0.2.1@sha256:4a443a1bd8f4ac155bb90906ee90f41f00ad7b50fd282a47498a00048124634c,2845
- location: https://github.com/narumij/seitz-symbol/archive/0.1.0.0.dev4.tar.gz

Edit your package.yaml and set the following:

dependencies:
- base >= 4.8 && < 5
- matrix-as-xyz
- seitz-symbol
- symmetry-operations-symbols

Then start repl.

% stack repl

Setup packages and load modules.

repl> :m Data.Matrix.AsXYZ Data.Matrix.SeitzSymbol Data.Matrix.SymmetryOperationsSymbols

Use like below.

repl> prettyXYZ <$> fromSeitzSymbolS "{ 2 010 | 1/2 1/2 1/2 }"
Right "-x+1/2,y+1/2,-z+1/2"

repl>  (liftError . fromSeitzSymbolS) "{ 2 010 | 1/2 1/2 1/2 }" >>= fromMatrix
Right " 2 (0,1/2,0) 1/4,y,1/4"

References

A. Michael Glazer et al. Seitz symbols Acta Cryst. (2014). A70

ネスポロ マッシモ:日本結晶学会誌 59,210-222(2017). https://www.jstage.jst.go.jp/article/jcrsj/59/5/59_210/_pdf