[CCPPETMR/SIRF] FBP2D clean-up (#171)

Yametazamwa mara 0
Ruka hadi kwenye ujumbe wa kwanza ambao haujasomwa

Kris Thielemans

hayajasomwa,
10 Mei 2018, 13:25:0510/05/2018
kwa CCPPETMR/SIRF,Subscribed

@evgueni-ovtchinnikov, this all works fine. thanks!

Could you rename set_alpha_ramp to set_alpha_cosine_window? Add some doc for the class like:

This is an implementation of the 2D FBP algorithm. 

Oblique angles in data will be ignored. The exception is the span=1 case, where the ring differences +1 and -1 are first combined to give indirect sinograms.

By default, the algorithm uses the ramp filter. An apodizing filter can be added by using set_alpha_cosine_window and/or set_frequency_cut_off. The apodizing filter in frequency space has the form
   (alpha + (1 - alpha) * cos(pi * f / fc))

Add doc to set_alpha_cosine_window

Set alpha in the apodizing filter.

See the class documentation for the filter. alpha should be between 0.5 and 1. alpha=0.5 corresponds to the Hann filter, while 0.54 corresponds to the Hamming filter.

and for set_frequency_cut_off

Set the cut-off frequency for the apodizing filter.

See the class documentation for the filter. fc should be between 0 and 0.5.

Could you then expose this to matlab as well?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

evgueni-ovtchinnikov

hayajasomwa,
11 Jun 2018, 08:50:3111/06/2018
kwa CCPPETMR/SIRF,Subscribed

Closed #171 via 887f19a.

Jibu wote
Mjibu mchapishaji
Sambaza
Ujumbe 0 mpya