fishdist.wing_analysis_utils
add_to_db_sql(sql_file, table_name, headers, data_rows)
Adds data to a SQL database table.
| Parameters: |
|
|---|
| Returns: |
|
|---|
append_to_file(sql_file, table_name, finally_formatted_table)
Appends a formatted table to a SQL database.
| Parameters: |
|
|---|
compute_iqr(x)
Computes the interquartile range (third quartile - first quartile), a distribution measure not sensitive to outliers.
| Parameters: |
|
|---|
| Returns: |
|
|---|
compute_weighted_centroid(coords, intensity_image)
Computes the weighted centroid of the given coordinates in an intensity image.
| Parameters: |
|
|---|
| Returns: |
|
|---|
get_q1_q3(x)
Computes the 1st and 3rd quartiles of the given data.
| Parameters: |
|
|---|
| Returns: |
|
|---|