This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
[BUG]: Extremely slow or deadlock in initialization of MultiSpectralDistributions #1292
Labels
You can continue the conversation there. Go to discussion →
Description
I am working on large sets of multispectral data (Zhang_41 million reflectances) which comes in zips of > 10 million spectra at 31 wavelengths. I thought i could use the MultiSpectral distribution to contain the total spectra from a light, all reflectances, and convert this to XYZ, but it fails already in the initialization of the object if i have higher than 1000 ish vectors.. (3 sec timeout)...
Original spectral data are huge files (link below)
data= scipy.io.loadmat('Ref5_10_unique_expand.mat') # loads from matlab file #https://www2.cs.sfu.ca/~colour/data/Zhang_41MillionReflectances/
Below i test with a dummy data array of size 31 by 100 and subsequently try 1000 (i need millions)
With size (31,1000).. it takses a lot of cpu, time and gives warnings
Should not this datatype large datasets permitting fast vectorized conversion to XYZ for example?
Code for Reproduction
Exception Message
Environment Information
The text was updated successfully, but these errors were encountered: