polyTEM.image.fft.q_lineout

polyTEM.image.fft.q_lineout(fft_gpu, dx, q_bandwidth=0.002, q_increments=0.002, q0=0.1, qmax=1.6, q_list=[], device='cuda', plot=False, ax=None, savefile='')

Function performs azimuthal intensity integrations as function of q for selected q bandwidth. :param fft_gpu: Pytorch tensor fourier transform :param dx: resolution in Angstrom / pixel :param q_bandwidth: halfwidth of bandpass filter :param q_increments: integration coarseness, ignored if q_list provided :param q0: q to start integration, ignored if q_list provided :param qmax: max q for q lineout, ignored if q_list provided :param q_list: list of values to calculate instead of construction based on q increments. q_list overrides other input :param device: cuda device

Returns:

np.ndarray of q values y: np.ndarray of counts, corresponding to q values plot: figure

Return type:

x