punchbowl.level1.tests.test_quartic_fit#

Functions#

Module Contents#

punchbowl.level1.tests.test_quartic_fit.fake_one_image(shape=(10, 10))#
Parameters:

shape (tuple) – the shape of the image to create

Return type:

A fake image of the given shape with values of all 1

punchbowl.level1.tests.test_quartic_fit.quartic_coefficients_image()#
Return type:

Quartic coefficient image with flat_coefficients of [0, 1, 2, 3, 4]

punchbowl.level1.tests.test_quartic_fit.test_create_constant_coefficient_image()#
punchbowl.level1.tests.test_quartic_fit.test_create_coeff_image_with_only_one_coeff()#
punchbowl.level1.tests.test_quartic_fit.test_create_coeff_image_with_two_coeff()#
punchbowl.level1.tests.test_quartic_fit.test_create_coefficient_image(quartic_coefficients_image)#
punchbowl.level1.tests.test_quartic_fit.test_calibration_with_single_constant_coeff(fake_one_image, constant, shape=(10, 10))#
punchbowl.level1.tests.test_quartic_fit.test_calibration_with_all_one_coefficients(fake_one_image, shape=(10, 10))#
punchbowl.level1.tests.test_quartic_fit.test_calibration_with_range_coefficients(fake_one_image, shape=(10, 10))#