stereo.algorithm.spa_track.SpaTrack.calc_alpha_by_moransI¶
- SpaTrack.calc_alpha_by_moransI(spatial_key=None)[source]¶
Estimate alpah1 and alpah2 for
spt.get_ot_matrixby using Moran’s I.- Parameters:
spatial_key (
Optional[str]) – The key to get position information of cells, by default, thedata.spatial_keywill be used.
return: The estimated alpha1 and alpha2