@mdesco, @jchoude can you share your tensor fit script from scilpy with @MrBago so he can make a hybrid and more advanced version of the two?