as_mmap function

Convert a NeuroVec to a memory-mapped representation