API Reference#
This is CRISPy’s class and function reference. In addition to the table below, you can also search with the search bar located on the top right corner of the webpage.
Object |
Description |
|---|---|
Process and grid CRISPy coordinates onto a reference image, labeling and cleaning skeleton structures. |
|
Process and grid CRISPy coordinates in PPV space onto a reference image, labeling and cleaning skeleton structures. |
|
Calculate the sky-projected length of a 3D skeleton. |
|
Map raw CRISPy results onto a reference image grid and save the gridded results. |
|
Map CRISPy skeleton coordinates onto a reference image grid. |
|
Label unconnected ridges using DBSCAN clustering. |
|
Map CRISPy skeleton coordinates onto a reference grid and clean the skeleton. |
|
Read filament skeleton data from a file. |
|
Reduce a list of ridge coordinates to one unique point per pixel. |
|
Write a gridded image to a FITS file. |
|
Convert an image into a format compatible with the SCMS algorithm. |
|
Read SCMS output files and retrieve walker coordinates. |
|
Identify density ridges in a gridded image using the SCMS algorithm. |
|
Apply a local thresholding method to an image for binarization. |
|
Write SCMS output coordinates to a file. |
|
Represents a skeletonized structure with tools for pruning, analyzing, and processing filament data. |
|
Identify body points in a skeletonized structure. |
|
Identify branch points in a skeletonized structure. |
|
Classify the components of a skeleton into labeled branches, intersections, and endpoints. |
|
Identify endpoints in a skeletonized structure. |
|
Initialize branch properties for 2D or 3D skeletons. |
|
Compute lengths and intensities for branches in 3D skeletons. |
|
Compute the main lengths of 3D skeletons and generate longest path arrays. |
|
Convert 3D skeletons into graph representations with weighted edges. |
|
Remove unphysical branches from a labeled 3D skeleton in PPV space. |
|
Calculate the length of a skeleton segment. |
|
Traverse a 3D skeleton segment to obtain an ordered list of pixel coordinates. |
|
Generate a base block array for 2D or 3D skeleton structures. |
|
Generate a footprint array representing connectivity in 2D or 3D space. |
|
Divide data into chunks for multiprocessing. |
|
Compute the Euclidean distances and differences between data points and walkers. |
|
Identify density ridges in data using the Subspace Constrained Mean Shift (SCMS) algorithm. |
|
Shift walkers toward density ridges using the Subspace Constrained Mean Shift (SCMS) algorithm. |
|
Shift walkers towards density ridges using the SCMS algorithm with multiprocessing. |
|
Shift walkers towards density ridges using the Subspace Constrained Mean Shift (SCMS) algorithm. |
|
Compute Gaussian kernel values for data points relative to walker positions. |
|
Compute weighted Gaussian values for data points relative to walker positions, |
|
Compute weighted Gaussian values for data points relative to walker positions |
|
Generate a 3D scatter plot of True-valued positions in a 3D boolean array. |
|
Render a 3D scatter plot from a 3D data cube with efficient visualization. |
|
Render a 3D volume using layers of isosurfaces. |
|
Create a 3D scatter trace for visualizing ridge points. |
|
Render a 3D skeleton volume using isosurface visualization. |