Feature Extraction

Introduction

Morphological features are useful for investigating and clustering neuron morphologies. The Feature Extractor package is designed to allow flexible morpholigcal feature extraction from swc neuron reconstruction files and supplementary data. The default_feature set is a combination of L-measure and other features used by the Allen Institute.

Running Feature Extraction from the Command Line

The feature extractor module is an argschema module, which can be run from the command line:

feature_extractor --input_json path_to_inputs.json --output_json write_outputs_here.json

Please see the schema file for usage details and options.

Running in Python/Notebooks

You can take advantage of all of the capabilities of Feature Extractor by running it in python and jupyter notebooks. By running in python and notebooks, you can easily add your own features, create different feature sets, and customize your feature extractor to meet your needs.

Here are two basic examples for running IVSCC and fMOST data:

For a more detailed look at the feature extractor capabilites, checkout feature_extractor_example