qumas.Tools.postanalysis_utils module

montecarlo_errors(x_data, x_error, N=10000)[source]
lday_to_cm(lday_value)[source]
cm_to_lday(cm_value)[source]
RxtoR2500(Rx, x, Rx_in_log=True, ref=2500)[source]

Rx radio at x lambda x lambda in A ref is the ref labda use to to be will be the radius

log10_to_number(rx)[source]

_summary_

Parameters:

rx (_type_) – rx is a tuple (rx,sigma_rx) log10

Returns:

numpy array(2,) with rx and sigma_rx non log10

Return type:

_type_

r_x_to_r_y(rx, x, y=2500, log10=False)[source]

rx: tuple (rx,sigma_rx) at x lambda with error x: lambda in A at which rx is measured y: lambda in A at which ry will be re-scaled return and (2,len(rx)) array with ry and error

to_return(f)[source]