eradiate.test_tools

eradiate.test_tools.plugin

Helper tools for plugin tests.

sample_eval_pdf_bsdf(plugin, wi[, ...])

Sample a BSDF and get corresponding eval() and pdf() values.

eradiate.test_tools.regression

RegressionTest(name, value[, reference, ...])

Common interface for tests based on the comparison of a result array against reference values.

RMSETest(name, value[, reference, variable])

This class implements a simple test based on the root mean squared error (RMSE) of a result array with respect to the reference data.

Chi2Test(name, value[, reference, variable])

This class implements a statistical test for the regression testing campaign, based on Pearson's Chi-squared test.

AbstractStudentTTest(name, value[, ...])

Abstract Student's T-Test

IndependentStudentTTest(name, value[, ...])

Independent Student's T-test

PairedStudentTTest(name, value[, reference, ...])

Paired Student's T-test

ZTest(name, value[, reference, variable])

Z-Test with Šidák correction factor

SidakTTest(name, value[, reference, variable])

T-Test with Šidák correction factor

eradiate.test_tools.test_cases

rami4atm.create_rami4atm_boa(toa_case, spp)

Create BOA experiments from Rami4ATM case id

rami4atm.create_rami4atm_toa(case, spp[, ...])

Create an Experiment to simulate one of the RAMI4ATM benchmarking cases.

rami4atm.registry

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2).

eradiate.test_tools.types

check_scene_element(instance[, mi_cls, ctx, ...])

Perform kernel dictionary checks on a scene element.