Access memory as a 1-, 2- or 3-dimensional array.
Access memory as a 1-, 2- or 3-dimensional array. This gets an element from dynamically allocated memory.
The memory can be accessed as a 1, 2 or 3 dimensional array, depending in the settings of ASpec.
The data pointer in the ASpec structure is of type 'long', which means that the memory might have to be 'type cast'.
Also if a finer resolution than 'long' is required that will be up to the user to mask off the irrelevant bits.