Open ronenroi opened 4 years ago
when multichannel is false the radiance variable has wrong dimensions. I fixed it by like that:
multiview = isinstance(projection, shdom.MultiViewProjection) multichannel = num_channels > 1 radiance = radiance.T if multichannel: radiance = np.array(np.split(radiance, num_channels))
hope it was helpful
Roi
when multichannel is false the radiance variable has wrong dimensions. I fixed it by like that:
multiview = isinstance(projection, shdom.MultiViewProjection) multichannel = num_channels > 1 radiance = radiance.T if multichannel: radiance = np.array(np.split(radiance, num_channels))
hope it was helpful
Roi