Closed euhruska closed 5 years ago
I think var_cutoff needs to be set to 1.0 explicitly, otherwise dim is ignored, see TICA documentation. Does that explain what you see?
No, that wouldn't explain it, tica should under no circumstances fail to write the output and this is a fatal error. I think it's related to Koopman cutting off the negative eigenvalues and giving the output function less dimensions than the output function expects.
Oh right, I overlooked that this line
trajs[itraj][i, :] = chunk[:, dimensions]
was part of the TICA code, not of yours. So the dimension of the TICA object seems to change somewhere along the way and is not updated. It may very well be related to the dimension reduction after solving the eigenvalue problem. I'll try to go through the code later and check if the dimension is updated after the diagonalization.
I have no idea what's going on here. As far as I can see, TICA checks how many eigenvalues are available before setting the dimension, so there should be no mismatch. Can you post this on the pyemma repo and tag Martin?
koopman ignores the number of dimensions requested, and later gives fatal error. Here Koopman generates 3 dimensions, but dim=5. The get_output fails @fnueske