You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should consider making resolution a required argument of the schechter sampler and other functions that call it. Currently default values are being used throughout the library e.g. schechter_lf but a single fixed default value can lead to vastly different levels of numerical accuracy depending on the other parameters alpha, x_min and x_max. By requiring the user to choose the resolution we avoid them blindly using a default value that may be unsuitable for their use case and instead implicitly ask them to consider their own numerical requirements.
The text was updated successfully, but these errors were encountered:
Lucia-Fonseca
changed the title
Schechter sampler resolution should be a required argument
ENH: Schechter sampler resolution should be a required argument
Feb 17, 2022
We should consider making
resolution
a required argument of theschechter
sampler and other functions that call it. Currently default values are being used throughout the library e.g.schechter_lf
but a single fixed default value can lead to vastly different levels of numerical accuracy depending on the other parametersalpha
,x_min
andx_max
. By requiring the user to choose theresolution
we avoid them blindly using a default value that may be unsuitable for their use case and instead implicitly ask them to consider their own numerical requirements.The text was updated successfully, but these errors were encountered: