Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Added mask shape check in tenfit #403
Seems like the old code wasn't checking if the mask was the same shape as the data, so I stole the snippet in peaks_from_model.
If the mask could be broadcasted to a valid shape, the code would run and give random results, not the maks and the data must be identical for the fit method to run.
assert_raises([ExceptionTypeExpected], [funtion to be called, or any
I hope it helps
On Thu, Jul 31, 2014 at 9:15 AM, Samuel St-Jean firstname.lastname@example.org
"Cada quien es dueño de lo que calla y esclavo de lo que dice"