File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1144,7 +1144,10 @@ def get_cxotime_now() -> str | None:
1144
1144
1145
1145
def filter_cmd_events_date_stop (date_stop ):
1146
1146
"""
1147
- Returns a function that removes command events with ``Date > date_stop``.
1147
+ Returns an event filter function to remove events with ``Date > date_stop``.
1148
+
1149
+ The returned function can be used as an ``event_filter`` argument to ``get_cmds()``
1150
+ and other related functions.
1148
1151
1149
1152
Parameters
1150
1153
----------
@@ -1154,7 +1157,9 @@ def filter_cmd_events_date_stop(date_stop):
1154
1157
Returns
1155
1158
-------
1156
1159
Callable
1157
- Function that takes a Table of command events and returns a boolean numpy array.
1160
+ Function that takes a Table of command events and returns a boolean numpy array
1161
+ of the same length as the table. The array is a mask and ``True`` entries are
1162
+ kept.
1158
1163
"""
1159
1164
1160
1165
def func (cmd_events ):
You can’t perform that action at this time.
0 commit comments