Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Unexpected reverse in output of opt_bucket (moved from private toolbox) #5

Open
mikeaalv opened this issue Jul 27, 2020 · 0 comments
Open

Comments

@mikeaalv
Copy link
Collaborator

mikeaalv commented Jul 27, 2020

Can you guys share a used/working script for using opt_bucket. Mario and I have try to do the binning. It seems the result is somewhat reversed and wrong. The function call is as following:

[ZNN,Z,I_b,S_b]=opt_bucket(ppmR2,XALNS_PQN,0.005,0.5);

ppmR2: ppm vector
XALNS_PQN: spectral matrix

By reverse, I mean if I do the following, the spectra will be reversed

I_b_2=I_b;
ppm_mean=mean(I_b_2');
plotr(ppm_mean, ZNN(1,:));

@mario can you correct me if that's not the way your run it? Or add details if you think it is needed.

for details reply, referring to original issue

@mikeaalv mikeaalv changed the title Unexpected reverse in output of opt_bucket Unexpected reverse in output of opt_bucket (moved from private toolbox) Jul 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant