Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

# coding: utf-8 

# Copyright (c) Pymatgen Development Team. 

# Distributed under the terms of the MIT License. 

 

import numpy as np 

 

voigt_map = [(0, 0), (1, 1), (2, 2), (1, 2), (2, 0), (0, 1)] 

reverse_voigt_map = np.array([[0, 5, 4], 

[5, 1, 3], 

[4, 3, 2]])