JavaScript API Reference#

DiME uses two custom JavaScript objects to handle interactions between the JavaScript client and the MATLAB and Python clients: Complex and NDArray. The JavaScript client also has a few specialty functions for handling data.


Client#

dime.DimeClient

The DiME client.

Others#

dime.Complex

A custom object that represents complex numbers.

dime.NDArray

A custom N-dimensional array object that acts similarly to the numpy object with the same name.

jsonloads

Loads a new object from JSON.

jsondumps

Returns the JSON string for an object.

dimebloads

Loads an object from bytes.

dimebdumps

Returns the bytes of an object.