nabu.app.diag_to_pix module

nabu.app.diag_to_pix.transform_images(diag, ovs)[source]

Filter the radios, and oversample them along the vertical line. The method in general is similar to the composite cor finding. Several overlapping positions are used to match redundant contributions at different rotation stages ( theta and theta+360). But beforehand it is beneficial to remove low spatial frequencies. And we do oversampling on the fly.

nabu.app.diag_to_pix.detailed_merit(diag, shift)[source]
nabu.app.diag_to_pix.merit(ima_a, ima_b, w_a, w_b, s)[source]

A definition of the merit which accounts also for the data weight. calculates the merit for a given shift s. Comparison between a and b Considering signal ima and weight w

nabu.app.diag_to_pix.build_total_merit_list(diag, oversample_factor, args)[source]
nabu.app.diag_to_pix.main(user_args=None)[source]

Analyse the diagnostics and correct the pixel size