aviadlevis / pyshdom

A python wrapper for SHDOM and 3D retrieval of atmospheric properties
Other
6 stars 5 forks source link

fix bug in sensor.py make_images method #7

Open ronenroi opened 4 years ago

ronenroi commented 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