Spike Toolbox

STAddrPhysicalExtract
Extract the neuron and synapse IDs from a physical address

Syntax
[nAddr1, nAddr2, ...] = STAddrPhysicalExtract(addrPhys) [nAddr1, nAddr2, ...] = STAddrPhysicalExtract(addrPhys, stasSpecification)

Description
addrPhys should be a physcial address as constructed by STAddrPhysicalConsstruct. STAddrPhysicalExtract will extract the indices for each addressing field, as defined by the addressing specification. If this specification is not supplied in the argument list, the default output addressing specification will be taken from the toolbox options. The field indices will be returned in the variable length argument list.

STAddrPhysicalExtract will respect the bReverse field in the addressing specification, and reverse the bits in the respective fields in the supplied address. STAddrPhysicalExtract will also respect the bInvert field in the specification, and invert the bits in an addressing field.

STAddrPhysicalExtract is vectorised.

See Also
Understanding toolbox addressing, STAddrPhysicalConstruct, STAddrLogicalConstruct, STAddrLogicalExtract


$Id: STAddrPhysicalExtract.html 1783 2005-08-31 21:05:51Z dylan $