AbaPanu
AbaPanu
Thanks for the fast reply. About "the Broker M4 files are compressed but not chunked?", I think that is correct, at least it seems to be the explanation to why...
@CSSFrancis I tried all of the above suggested: ``` bcf_hypermap = hs.load(file_path, lazy=True) bcf_hypermap.rechunk() #creates 289 chunks (shape = x:156, y:209, E:4096) see attached png bcf_hypermap.save("bcf_hypermap.zspy") #crashes after approximately 25...
It finally works! Halleluja! For some reason it appears to be necessary to load the bcf file not only "lazy = True", but also "cutoff_at_kV=40" (in my files the energy...
"Does it use a lot of memory when saving to zspy?" @ericpre: yes, it uses almost all memory while saving the zspy-file and takes roughly 50 seconds to complete the...
Update on version 2: Seems as if I just messed up the transposition the first time (no idea how I did that). It actually works like this: ```def average_spectra_per_roi(file_path,hypermap): xy...