Component labels are generated automatically by ndimage.label. However as many labelled components are filtered out, it is not uncommon for a file to contain 10s of EVs but have these labelled in the 100s (e.g. EV 12 has label 84). While this is effective for passing data from ev-post-processing.py to ev-visualisation.py, it could be worth adding an 'index' column (or equivalent) to number only the components which are classed as EVs. This could then be used in ev-visualisation to number them so the numbering does not seem as arbitrary as at present.
Component labels are generated automatically by
ndimage.label. However as many labelled components are filtered out, it is not uncommon for a file to contain 10s of EVs but have these labelled in the 100s (e.g. EV 12 has label 84). While this is effective for passing data fromev-post-processing.pytoev-visualisation.py, it could be worth adding an 'index' column (or equivalent) to number only the components which are classed as EVs. This could then be used inev-visualisationto number them so the numbering does not seem as arbitrary as at present.