Example 3: Examination of microtubule dynamic instability

The code snippet below shows a scenario for analysis of the microtubule dynamics where only duration, spatial_maps and event_collections features are selected.

 1from cytoskeleton_analyser.inout import Paths      # simulation-specific paths
 2from cytoskeleton_analyser.history.drivers import process  # driver fuction
 3from sim_specs import cell, data_in, data_out, rinds
 4
 5params = {
 6   'edge_len': 0.008,     # (μm) length of filament edge.
 7   'cell': cell,          # cell object
 8}
 9
10# Specify features to process. If this is None,
11# all features are included.
12features = [
13   'duration',
14   'spatial_maps',
15   'event_collections',
16]
17
18if __name__ == '__main__':
19
20   for ci in rinds:
21      paths = Paths(data_in, data_out, params['cell'], ci)
22      process(paths, ci, 1, params, True, features)