Open epantin opened 4 years ago
I had a similar problem from the tutorial. I have the vip version 0.9.11. First, the vip.HCIDataset module does not exist anymore, I had to use vip.Dataset. Then I also had the dimension problem with the angles vector, so what I did was just to flatten it: betapic = vip.Dataset(cube=cube, angles=angles.flatten(), psf=psf). At least it loads, before having another issue :-/
Crash probably because input angles have the wrong shape/type.
I guess that angles shall be reformatted at some point as in "naco_create_hcidataset.ipynb" :
angles have a wrong shape: (61,1) instead of (61,)
dataset.angles = dataset.angles.reshape(-1)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
TypeError Traceback (most recent call last)