pymaid.get_logs¶
- pymaid.get_logs(operations=[], entries=50, display_start=0, search='', remote_instance=None)[source]¶
Retrieve logs (same data as in log widget).
- Parameters:
operations (list of str, optional) – If empty, all operations will be queried from server possible operations: ‘join_skeleton’, ‘change_confidence’, ‘rename_neuron’, ‘create_neuron’, ‘create_skeleton’, ‘remove_neuron’, ‘split_skeleton’, ‘reroot_skeleton’, ‘reset_reviews’, ‘move_skeleton’
entries (int, optional) – Number of entries to retrieve.
display_start (int, optional) – Sets range of entries to return:
display_start
todisplay_start + entries
.search (str, optional) – Use to filter results for e.g. a specific skeleton ID or neuron name.
remote_instance (CatmaidInstance, optional) – If not passed directly, will try using global.
- Returns:
DataFrame in which each row represents a single operation:
user operation timestamp x y z explanation 0 1 ...
- Return type:
pandas.DataFrame