autowisp.tests.test_tfa_multi_channel module

Class Inheritance Diagram

Inheritance diagram of AllTemplatesTFA, LightCurveFile, SyntheticLightCurveTestCase, TestTFAMultiChannel

TFA on lightcurves collecting points from two channels of each frame.

class autowisp.tests.test_tfa_multi_channel.TestTFAMultiChannel(methodName='runTest')[source]

Bases: SyntheticLightCurveTestCase

Inheritance diagram of autowisp.tests.test_tfa_multi_channel.TestTFAMultiChannel

TFA with the default observation id on two-channel lightcurves.

Both channels of a frame share its frame number, so only the channel tells their points apart. Two targets are corrected: an exact combination of the templates, and one of the templates itself, which TFA must fit without its own template. Template 1 and both targets lack one (frame, channel) point the other templates have.

classmethod setUpClass()[source]

Create the lightcurves and correct both targets.

test_combination_of_templates_is_fit_exactly()[source]

An exact combination of templates leaves only storage rounding.

LC magnitudes are stored to about 1e-5, which bounds the residual.

test_template_is_fit_by_the_other_templates()[source]

A target among the templates is fit by the rest, to its noise.