| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Testing | 2017-02-28 | ||
| README.txt | 2017-02-28 | 901 Bytes | |
| example_use01.py | 2017-02-28 | 354 Bytes | |
| demo_driver.py | 2017-02-28 | 421 Bytes | |
| example_use_mod01.py | 2017-02-28 | 1.0 kB | |
| neugebauer_scalar_utils.py | 2017-02-28 | 6.7 kB | |
| Totals: 6 Items | 9.4 kB | 0 |
Python module to generate code to compute scalars for Neugebauer-type models. Copyright (c) 2017, J A Stephen Viggiano Install these files into a directory. Be sure Python 2.X is on your system (minor changes necessary for Python 3.X). To see an example of how to generate Python code to compute scalars, do the following from the command line on a POSIX-compliant system: python demo_driver You can edit the "inks = 'cmy' line in the demo_driver.py file to generate Python code for different ink sets, changing 'cmy' to, say, 'cmyk', 'cmykog', or whatever ink set you'd like. Just be sure to use a unique letter for each ink. To see an example of how to actually calculate scalars, do the following command: python example_use01 You can change the colorant amounts in the two function calls near the end of the file, from 0.2, 0.4, 0.6 to any trio of values between zero and one. Have fun!