honeybee_radiance_command.options.ra_gif module

ra_gif parameters.

class honeybee_radiance_command.options.ra_gif.Ra_GIFOptions[source]

Bases: honeybee_radiance_command.options.optionbase.OptionCollection

ra_gif command options.

Also see: https://floyd.lbl.gov/radiance/man_html/ra_gif.1.html

to_file(folder, file_name, mkdir=False)

Write options to a file.

to_radiance()

Translate options to Radiance format.

update_from_string(string)

Update options from a standard radiance string.

If the option is not currently part of the collection, it will be added to additional_options.

additional_options
property b

False

Convert a radiance generated image to black and white.

Type

Change image color - default

property c

This option allows fewer than 256 colors (and fewer than 8 bits per pixel).

property command

Command name.

property d

False

Type

Turn off dithering - default

property e

Exposure compensation

This option specifies an exposure compensation in f-stops (powers of two). Only integer stops are allowed, for efficiency.

property g

2.2

This option specifies the exponent used in gamma correction. An exponent of 1.0 turns gamma correction off.

Type

Gamma correction - default

property n

Sampling factor for large images

This option specifies a sampling factor for neural network color quantization. This value should be between 1 and 80, where 1 takes the longest and produces the best results in small areas of the image. If no value is given, a faster median cut algorithm is used.

property options

Print out list of options.

property slots

Return slots including the ones from the baseclass if any.