cortex.dataset.VertexRGB.to_json

VertexRGB.to_json(simple=False)[source]

Serialize this RGB vertex view to a JSON-compatible dict, for the webgl viewer / HDF5 export.

Parameters:
simplebool, optional

If True, return an abbreviated summary (hemisphere split point and frame count) rather than the full webgl payload. Default False.

Returns:
dict

Serialized view data.