Could you write some tests, for both this one and DoProduction?
Also, instead of following the for-loop style implementation of the matlab code, it would probably be a good idea to vectorize the operations so that we don't lose efficiency when running big files.
Could you write some tests, for both this one and DoProduction?
Also, instead of following the for-loop style implementation of the matlab code, it would probably be a good idea to vectorize the operations so that we don't lose efficiency when running big files.