center_from_spikes

psfsubtraction.prepare.center_from_spikes(image, **kwargs)[source] [edit on github]

Fit both diffraction spikes and return the intersection point

Note

Direction of diffraction spikes.

Currently this function assumes X shaped diffraction spikes.

Parameters:
image : np.array

2 dimensional image

All keyword arguments will be passed to `fit_diffraction_spike`.