rastermap icon indicating copy to clipboard operation
rastermap copied to clipboard

Rastermap in Suite2p GUI are different from results in matlab and python rastermap code

Open fangyue1992 opened this issue 3 years ago • 0 comments

Thanks for developing rastermap function! What I want is to output the neuron sort number of the rastermap in Suite2p. I tried 2 ways, matlab and python code, buy both get results different from that from Suite2p GUI, while I set them the same parameters. I looked for the Suite2p python code for the parameters and I set it the same when I direct run python or matlab code, but the results are different as the 3 attached pictures (left to right: suite2p, python, matlab). def compute_map(self): ops = {'n_components': 1, 'n_X': 100, 'alpha': 1., 'K': 1., 'nPC': 200, 'constraints': 2, 'annealing': True, 'init': 'pca', 'start_time': 0, 'end_time': -1} And I also tried run mapping_new, mapping_old, mapping_inc, none of them can get the same result of suite2p GUI. So I want to ask what might be the reason? hope to hear advice. Thanks! image image image

fangyue1992 avatar May 30 '21 16:05 fangyue1992