flip.vectors

Attributes

Functions

create_log([log_level])

The create_log function creates a logger object that can be used to log messages.

load_density_vector(data)

load_velocity_vector(data, parameter_values_dict[, ...])

get_velocity_from_salt_fit(data, ...[, q_0, j_0])

compute_observed_distance_modulus(data, alpha, beta, M0)

redshift_dependence_velocity(data, velocity_estimator)

Module Contents

flip.vectors.create_log(log_level='info')[source]

The create_log function creates a logger object that can be used to log messages. The function takes one argument, the log_level, which is set to "info" by default. The function returns a Logger object with the specified logging level.

Parameters:

log_level – Set the logging level

Returns:

A logger object

flip.vectors.log
flip.vectors._avail_velocity_type = ['direct', 'saltfit']
flip.vectors._avail_velocity_estimator = ['watkins', 'lowz', 'hubblehighorder', 'full']
flip.vectors.load_density_vector(data)[source]
flip.vectors.load_velocity_vector(data, parameter_values_dict, velocity_type='direct', velocity_estimator='full', **kwargs)[source]
flip.vectors.get_velocity_from_salt_fit(data, parameter_values_dict, velocity_estimator, q_0=None, j_0=None)[source]
flip.vectors.compute_observed_distance_modulus(data, alpha, beta, M0)[source]
flip.vectors.redshift_dependence_velocity(data, velocity_estimator, q_0=None, j_0=None)[source]