similarity

Create a new similarity/NBLAST configuration either by providing

Changed on

Create a new similarity/NBLAST configuration either by providing parameters to have the back-end queue a job or by providing the complete matrix data.

puthttp://localhost:8000/{project_id}/similarity/configs/

Request

Path parameters

project_idstring required

Project of the NBLAST configuration

Request body application/x-www-form-urlencoded

namestring required

Name of the new NBLAST configuration

sourcestring

Where random skeletons come from. Either "data", "request" or "backend-random".

distance_breaksstring

Bin boundaries for the distance in nm. Defaults to [0, 500] in an increasing logarithmic bin sizw

dot_breaksstring

Bin boundaries for the absolute dot product. Defaults to [0, 1] in 0.1 steps.

tangent_neighborsstring

The number of neighbor nodes that should be considered when computing a tangent vector.

matching_skeleton_idsstring

A list of matching skeleton IDs if <source> is not "data".

matching_pointset_idsstring

A list of matching pointset IDs if <source> is not "data".

matching_pointcloud_idsstring

A list of matching pointcloud IDs if <source> is not "data".

random_skeleton_idsstring

A list of random skeleton IDs if <source> is not "request".

matching_sample_idstring

An NblastSample foreign key of the matching sample.

random_sample_idstring

An NblastSample foreign key tp a random sample.

scoringstring

If passed in a new similarity matrix will be created based on this explict scoring. It is assumed to be a simple list which is organized in rows following each other sequentially. Requires distance binning and dot binning information.

Response

OK

Changes