From 9fa094a2dc28e4f1dad4702a5eabf3374ad75969 Mon Sep 17 00:00:00 2001 From: plgmlesniak Date: Mon, 13 Jan 2025 12:44:44 +0100 Subject: [PATCH] ISL-4832 Adjusted description in find_catalog_column.py, sort_by_time.py and sort_by_time_standalone.py --- python/catalog/find_catalog_column.py | 4 ++-- python/catalog/sort_by_time.py | 4 ++-- python/catalog/sort_by_time_standalone.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/python/catalog/find_catalog_column.py b/python/catalog/find_catalog_column.py index 1ca6080..0f5fb66 100644 --- a/python/catalog/find_catalog_column.py +++ b/python/catalog/find_catalog_column.py @@ -20,8 +20,8 @@ def find_catalog_column(catalog, field_name): Finds the index of a column in the catalog based on its field name. Parameters: - catalog (np.ndarray): A structured NumPy array representing the catalog, where each row - corresponds to a field with attributes like 'field', 'val', etc. + catalog (np.ndarray): A structured NumPy array representing the catalog. + https://docs.cyfronet.pl/display/ISDOC/Seismic+catalog field_name (str): The field name of the entry to search for. Returns: diff --git a/python/catalog/sort_by_time.py b/python/catalog/sort_by_time.py index 43c7b56..5874d0e 100644 --- a/python/catalog/sort_by_time.py +++ b/python/catalog/sort_by_time.py @@ -23,8 +23,8 @@ def sort_by_time(catalog): Sorts the given catalog based on the 'Time' column. Parameters: - catalog (np.ndarray): A structured NumPy array representing the catalog, where each row - contains fields like 'Time', 'ID', and others. + catalog (np.ndarray): A structured NumPy array representing the catalog. + https://docs.cyfronet.pl/display/ISDOC/Seismic+catalog Returns: np.ndarray: The sorted catalog, where rows in 'val' fields are ordered by ascending 'Time' values. diff --git a/python/catalog/sort_by_time_standalone.py b/python/catalog/sort_by_time_standalone.py index 70e51f0..e51e747 100644 --- a/python/catalog/sort_by_time_standalone.py +++ b/python/catalog/sort_by_time_standalone.py @@ -22,8 +22,8 @@ def sort_by_time(catalog): Sorts the given catalog based on the 'Time' column. Parameters: - catalog (np.ndarray): A structured NumPy array representing the catalog, where each row - contains fields like 'Time', 'ID', and others. + catalog (np.ndarray): A structured NumPy array representing the catalog. + https://docs.cyfronet.pl/display/ISDOC/Seismic+catalog Returns: np.ndarray: The sorted catalog, where rows in 'val' fields are ordered by ascending 'Time' values.