Skip to content

Commit 61a38cd

Browse files
authored
Update README.md
1 parent 2d350ea commit 61a38cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ git clone https://github.com/MTD-group/cmpuc.git
2121
You'll need to append your python path in your .bashrc or .bash_profile file with the path to cmpuc:
2222
```
2323
export PYTHONPATH=$PYTHONPATH:THE/PATH/TO/cmpuc
24+
```
2425

2526
## Usage ##
2627
The basic idea is to map composition onto an inverted triangular pyramid in a uniform color space (UCS). The wider the pyramid base, the more chemical constrast there is. Likewise, the taller the pyramid, the more concentration contrast there is. In this example (*simple_example.py*), we put the base triangle plane at L = 61.5, and use a feature of the code to rotate and stretch the triange to be as wide as possibe while still fitting in the sRGB color space. From here, we plot some test data, show the base triange in the unform color space, and construct a mixing diagram to aid in reading the color mapping. For comparison, we also do the same with sRGB primaries.

0 commit comments

Comments
 (0)