Hi Johannes,
I gave this a try today so I thought I'd pass on my results:-
Firstly, I found that I could not 'import lte' as sync_cc.py could not import 'window' from gnuradio.
I 'fixed' that by changing sync_cc.py as follows:-
self.pfft = fft.fft_vcc(fftl, True, window.rectangular(fftl), False, 1)
to
self.pfft = fft.fft_vcc(fftl, True, fft.window.rectangular(fftl), False, 1)
Now when I run it with my reference waveform I see:-
--------------------------------------------------------------------------------
Press Enter to quit:
pss_calculator_vcm NEW half_frame_start = -13166 N_id_2 = 0 corr_val = 27512.798828
pss_calculator_vcm NEW half_frame_start = -8784 N_id_2 = 2 corr_val = 30075.925781
pss_calculator_vcm NEW half_frame_start = 13187 N_id_2 = 0 corr_val = 33294.562500
sync_frequency_c ASYNC! new offset = 6611 old offset = 0 samp_num = 5910
pss_calculator_vcm NEW half_frame_start = 21971 N_id_2 = 1 corr_val = 35808.539062
sync_frequency_c ASYNC! new offset = 13187 old offset = 6611 samp_num = 5899
pss_calculator_vcm NEW half_frame_start = 43907 N_id_2 = 0 corr_val = 36685.992188
sync_frequency_c ASYNC! new offset = 15 old offset = 13187 samp_num = 15027
pss_calculator_vcm is locked! half_frame_start = 61455 N_id_2 = 0 corr_val = 36685.992188
sync_frequency_c ASYNC! new offset = 16 old offset = 15 samp_num = 12763
sss_calculator_vcm locked to frame_start = 215056 abs_pos = 1751056 cell_id = 132
sss_calculator_vcm publish_frame_start 215056
sss_calculator_vcm publish_cell_id 132
<bound method block_gateway_sptr.block__name of <block_gateway>> received cell_id = 132
<bound method block_gateway_sptr.block__name of <block_gateway>> cell_id = cell_id = 132 132 generating RS map!
received cell_id = 132
generating RS map!
remove_cp_cvc
frame_start = 1751056
mod start = 215056
Segmentation fault
--------------------------------------------------------------------------------
I'm not certain whether CID 132 is correct for this waveform so it's hard to say whether it's working up to the seg fault or not.
Regards,
Mike