GWeindel / hmp

Repository for the hmp python package
BSD 3-Clause "New" or "Revised" License
32 stars 8 forks source link

N_events specified in fit_single should throw error if the number of events in provided magnitudes or parameters is different #125

Open GWeindel opened 9 months ago

GWeindel commented 9 months ago

When providing a number of events to be estimate in fir_single() the dimension in the (eventual) provided magnitudes determines the number of events to be fitted instead of the n_events parameter. Having inconsistency between required number of events and provided magnitudes should throw an error instead of estimating N event based on the dimension of the magnitudes