Home / Testing
Name Modified Size InfoDownloads / Week
Parent folder
test06.py 2017-02-28 13.1 kB
test08.py 2017-02-28 89.8 kB
test03_dod.py 2017-02-28 2.2 kB
test04.py 2017-02-28 3.2 kB
test05.py 2017-02-28 5.8 kB
test02.py 2017-02-28 1.8 kB
test02_dod.py 2017-02-28 1.8 kB
test02_doffd.py 2017-02-28 1.9 kB
test03.py 2017-02-28 2.2 kB
Totals: 9 Items   121.8 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!

Source: README.txt, updated 2017-02-28