Open stefanwaterval opened 1 year ago
The classes in lightcurve.py require the input data to be of type torch.Tensor but there is no mechanism preventing anyone to submit different types of data.
lightcurve.py
torch.Tensor
I suggest to add a method that checks the type of input data and modifies it if necessary.
As we discussed, this is definitely an important thing to add! It should probably be added to the setter methods for any properties that need it.
The classes in
lightcurve.py
require the input data to be of typetorch.Tensor
but there is no mechanism preventing anyone to submit different types of data.I suggest to add a method that checks the type of input data and modifies it if necessary.