is.neuroml: Check whether a file is in NeuroML format

View source: R/neuron-io-neuroml.R

is.neuromlR Documentation

Check whether a file is in NeuroML format

Description

This will check a file on disk to see if it is in NeuroML format. Some prechecks (optionally taking place on a supplied raw vector of bytes) should weed out nearly all true negatives and identify many true positives without having to read/parse the file header.

Usage

is.neuroml(f, bytes = NULL)

Arguments

f

path to a file on disk

bytes

optional raw vector of bytes used for prechecks


jefferis/nat documentation built on Feb. 22, 2024, 12:45 p.m.