You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Do we expect this when we plot the map of faux_cell? #235
@bryanhanson, do we expect to see this when we plot faux_cell? Shouldn't we see some larger structures like in chondro? It seems a lot of noise here. Isn't something wrong here?
plotmap(spc) plots the average intensity of each spectrum in spc.
for chondro, we have mostly continuous changes here (I'd suspect them to be related to a slight curvature of the sample and resulting differences in focusing).
for faux_cell, the overall intensity of the "raw" spectra is driven by the differences between baselines, which are random and uncorrelated between the spectra.
So yes, the plot is correct.
(You'd see structure e.g. with plotmap(faux_cell[,,1200]))
On the other hand, doesn't region ~ x * y show that values of region are mapped and not the values of spectroscopic signals (not spc)? Doesn't it indicate, that the spectroscopic signal has no (or little) information on the parts of the cell?
@GegznaV you are right about how the map is created, it assumes the regions are known in advance. So probably we need a better or an additional example. Claudia noted above that plotmap(faux_cell[,,1200]) shows the structure (to a degree).
Activity
bryanhanson commentedon Jul 29, 2020
GegznaV commentedon Jul 29, 2020
I added code to reproduce the plot. I'm wondering, if something isn't lost in the code.
GegznaV commentedon Jul 29, 2020
I mean, isn't something lost in the code that generates the
faux_cell?GegznaV commentedon Jul 29, 2020
For reference:
cbeleites commentedon Jul 29, 2020
plotmap(spc)plots the average intensity of each spectrum inspc.chondro, we have mostly continuous changes here (I'd suspect them to be related to a slight curvature of the sample and resulting differences in focusing).faux_cell, the overall intensity of the "raw" spectra is driven by the differences between baselines, which are random and uncorrelated between the spectra.So yes, the plot is correct.
(You'd see structure e.g. with
plotmap(faux_cell[,,1200]))GegznaV commentedon Jul 29, 2020
OK, the following code gives:
But this means, that
chondrocould not be replaced withfaux_cellas easily as just by changing the dataset's name.bryanhanson commentedon Jul 29, 2020
Good point @GegznaV .
GegznaV commentedon Jul 29, 2020
On the other hand, doesn't
region ~ x * yshow that values ofregionare mapped and not the values of spectroscopic signals (notspc)? Doesn't it indicate, that the spectroscopic signal has no (or little) information on the parts of the cell?bryanhanson commentedon Jul 29, 2020
@GegznaV you are right about how the map is created, it assumes the regions are known in advance. So probably we need a better or an additional example. Claudia noted above that
plotmap(faux_cell[,,1200])shows the structure (to a degree).GegznaV commentedon Jul 29, 2020
1200 is good enough. In the examples of
plotmat, 1003 is indicated. So, it's better to use 1200 there.Thank you, @bryanhanson
GegznaV commentedon Jul 29, 2020
The "secret" wavenumbers that make sense in the map are 800, 1200, 1500 1/cm.