spiketools.utils.timestamps.convert_min_to_hour

spiketools.utils.timestamps.convert_min_to_hour(mins)[source]

Convert time value(s) from minutes to hours.

Parameters:
msfloat or array

Time value(s), in minutes.

Returns:
float or array

Time value(s), in hours.

Examples

Convert minutes to hours:

>>> convert_min_to_hour(270)
4.5