ctdam.conv package¶
Submodules¶
ctdam.conv.cast_borders module¶
- ctdam.conv.cast_borders.get_cast_borders(pressure, downcast_only=True, min_size_factor=0.01, min_soak_window=100, max_fd_quotient=6, prominence_divisor=7, win_size_divisor=500, min_velocity_quotient=15, min_velocity=0.045)[source]¶
Gets the borders of a given cast.
- Return type:
dict
- ctdam.conv.cast_borders.get_downcast_end(smoothed_pressure, first_derivative, second_derivative)[source]¶
Gets the downcast end of a given cast, accounting for heave due to waves. Returns the index of the highest pressure where the descent rate is below min_descent_rate.
- Return type:
int
Parameters:¶
- pressurenp.ndarray
The pressure array.
Returns:¶
: The index of the end of the downcast.
- ctdam.conv.cast_borders.get_downcast_start(first_derivative, second_derivative, base_data_size, min_soak_window=100, max_fd_quotient=6, prominence_divisor=7, win_size_divisor=500, min_velocity_quotient=15, min_velocity=0.045)[source]¶
Gets the downcast start of a given cast, removing soaking/waiting time. Returns the index where the CTD begins to continuously move downward.
- Return type:
Tuple[int,list,list]
Parameters:¶
- pressurenp.ndarray
The pressure array.
Returns:¶
: The index of the start of the downcast.
ctdam.conv.hexdecoder module¶
ctdam.conv.parameter_mapping module¶
- class ctdam.conv.parameter_mapping.ParameterMapping(xmlcon_part, raw_data, parameters, voltage_sensors_start=6)[source]¶
Bases:
object