two_phase

honeybee-radiance-postprocess two_phase

Commands to work with two phase Radiance matrices using NumPy.

honeybee-radiance-postprocess two_phase [OPTIONS] COMMAND [ARGS]...

add-remove-sky-matrix

Process results of two phase simulations (total, direct, direct sunlight).

The function will replace the direct values with the direct sunlight values: total - direct + direct_sunlight.

The function has two output files. One for the results of the above calculation, and one for the direct sunlight values.

Args:
total-mtx: Path to total matrix.
direct-mtx: Path to direct matrix.
direct-sunlight-mtx: Path to direct sunlight matrix.
honeybee-radiance-postprocess two_phase add-remove-sky-matrix 
    [OPTIONS] TOTAL_MTX DIRECT_MTX DIRECT_SUNLIGHT_MTX

Options

--binary, --ascii

Switch between binary and ascii input matrices. Default is binary.

-n, --total-name <total_name>

Total output file name.

Default:

'total'

-n, --direct-name <direct_name>

Direct output file name.

Default:

'direct'

-of, --output-folder <output_folder>

Output folder.

Arguments

TOTAL_MTX

Required argument

DIRECT_MTX

Required argument

DIRECT_SUNLIGHT_MTX

Required argument

rgb-to-illuminance

Process results of two phase simulations (total, direct, direct sunlight).

The function will replace the direct illuminance with the direct sunlight illuminance: total - direct + direct_sunlight.

The function has two output files. One for the illuminance of the above calculation, and one for the direct sunlight illuminance. In both cases the conversion from RGB to illuminance is executed.

Args:
total-mtx: Path to total matrix.
direct-mtx: Path to direct matrix.
direct-sunlight-mtx: Path to direct sunlight matrix.
honeybee-radiance-postprocess two_phase rgb-to-illuminance 
    [OPTIONS] TOTAL_MTX DIRECT_MTX DIRECT_SUNLIGHT_MTX

Options

--binary, --ascii

Switch between binary and ascii input matrices. Default is binary.

-n, --total-name <total_name>

Total output file name.

Default:

'total'

-n, --direct-name <direct_name>

Direct output file name.

Default:

'direct'

-of, --output-folder <output_folder>

Output folder.

Arguments

TOTAL_MTX

Required argument

DIRECT_MTX

Required argument

DIRECT_SUNLIGHT_MTX

Required argument

rgb-to-illuminance-file

Convert a RGB Radiance matrix to illuminance and save the array as a NumPy file.

Args:
mtx-file: Path to matrix file to convert.
honeybee-radiance-postprocess two_phase rgb-to-illuminance-file 
    [OPTIONS] MTX_FILE

Options

--binary, --ascii

Switch between binary and ascii input matrices. Default is binary.

-n, --name <name>

Name of output file.

Default:

'illuminance'

-of, --output-folder <output_folder>

Output folder.

Arguments

MTX_FILE

Required argument