Nori  24
StudentsTTest Class Reference
Inheritance diagram for StudentsTTest:
Collaboration diagram for StudentsTTest:

Public Member Functions

 StudentsTTest (const PropertyList &propList)
 
virtual void addChild (NoriObject *obj) override
 Add a child object to the current instance. More...
 
virtual void activate () override
 Invoke a series of t-tests on the provided input.
 
virtual std::string toString () const override
 Return a brief string summary of the instance (for debugging purposes)
 
virtual EClassType getClassType () const override
 Return the type of object (i.e. Mesh/BSDF/etc.) provided by this instance.
 
- Public Member Functions inherited from NoriObject
virtual ~NoriObject ()
 Virtual destructor.
 
virtual void setParent (NoriObject *parent)
 Set the parent object. More...
 
void setIdName (const std::string &name)
 Allow to assign a name to the object.
 
const std::string & getIdName () const
 

Additional Inherited Members

- Public Types inherited from NoriObject
enum  EClassType {
  EScene = 0 , EMesh , ETexture , EBSDF ,
  EPhaseFunction , EEmitter , EMedium , ECamera ,
  EIntegrator , ESampler , ETest , EReconstructionFilter ,
  EClassTypeCount
}
 
- Static Public Member Functions inherited from NoriObject
static std::string classTypeName (EClassType type)
 Turn a class type into a human-readable string.
 
- Protected Attributes inherited from NoriObject
std::string m_idname
 

Detailed Description

Student's t-test for the equality of means

This test analyzes whether the expected value of a random variable matches a certain known value. When there is significant statistical "evidence" against this hypothesis, the test fails.

This is useful in checking whether a Monte Carlo method method converges against the right value. Because statistical tests are able to handle the inherent noise of these methods, they can be used to construct statistical test suites not unlike the traditional unit tests used in software engineering.

This implementation can be used to test two things:

  1. that the illumination scattered by a BRDF model under uniform illumination into a certain direction matches a given value (modulo noise).
  2. that the irradiance caused by a single light source received by a reference point within some scene matches a given value (modulo noise).
  3. that the average radiance received by a camera within some scene matches a given value (modulo noise).

Definition at line 61 of file ttest.cpp.

Member Function Documentation

◆ addChild()

virtual void StudentsTTest::addChild ( NoriObject child)
inlineoverridevirtual

Add a child object to the current instance.

The default implementation does not support children and simply throws an exception

Reimplemented from NoriObject.

Definition at line 96 of file ttest.cpp.


The documentation for this class was generated from the following file: