snoplusuk / echidna

MIT License
4 stars 12 forks source link

Minimiser function #102

Closed ashleyrback closed 8 years ago

ashleyrback commented 8 years ago

Fit class created in #101 should include a method to be passed to any minimiser. This method should be of the form:

def func(self, *args):
    # Match values in args back with the corresponding parameter
    # For each value in args implement the relevant change
    # Combine Spectra to form a single expected spectrum
    # Project onto fit dimensions and flatten
    # Call compute_statistic method of test statistic
    return test_statistic