BTK Python wrapper
0.3dev.0
Python bindings for the Biomechanical ToolKit library (BTK)
|
Class to read/write ANC files. More...
Public Member Functions | |
def | CanReadFile |
def | CanWriteFile |
def | GetByteOrder |
def | GetByteOrderAsString |
def | GetFileGeneration |
def | GetFileType |
def | GetInternalsUpdateOptions |
def | GetStorageFormat |
def | GetStorageFormatAsString |
def | HasInternalsUpdateOption |
def | Read |
def | SetByteOrder |
def | SetFileGeneration |
def | SetInternalsUpdateOptions |
def | SetStorageFormat |
def | Write |
Public Member Functions inherited from btk.btkAcquisitionFileIO | |
def | CanReadFile |
def | CanWriteFile |
def | GetByteOrder |
def | GetByteOrderAsString |
def | GetFileType |
def | GetInternalsUpdateOptions |
def | GetStorageFormat |
def | GetStorageFormatAsString |
def | HasInternalsUpdateOption |
def | Read |
def | SetByteOrder |
def | SetInternalsUpdateOptions |
def | SetStorageFormat |
def | Write |
Additional Inherited Members | |
Static Public Attributes inherited from btk.btkAcquisitionFileIO | |
ASCII = _btk.btkAcquisitionFileIO_ASCII | |
Binary = _btk.btkAcquisitionFileIO_Binary | |
DataBasedUpdate = _btk.btkAcquisitionFileIO_DataBasedUpdate | |
FileFormatOption = _btk.btkAcquisitionFileIO_FileFormatOption | |
Float = _btk.btkAcquisitionFileIO_Float | |
IEEE_BigEndian = _btk.btkAcquisitionFileIO_IEEE_BigEndian | |
IEEE_LittleEndian = _btk.btkAcquisitionFileIO_IEEE_LittleEndian | |
Integer = _btk.btkAcquisitionFileIO_Integer | |
MetaDataBasedUpdate = _btk.btkAcquisitionFileIO_MetaDataBasedUpdate | |
NoUpdate = _btk.btkAcquisitionFileIO_NoUpdate | |
OrderNotApplicable = _btk.btkAcquisitionFileIO_OrderNotApplicable | |
StorageNotApplicable = _btk.btkAcquisitionFileIO_StorageNotApplicable | |
TypeNotApplicable = _btk.btkAcquisitionFileIO_TypeNotApplicable | |
UpdateNotApplicable = _btk.btkAcquisitionFileIO_UpdateNotApplicable | |
VAX_LittleEndian = _btk.btkAcquisitionFileIO_VAX_LittleEndian | |
Class to read/write ANC files.
Interface to read/write ANC files (Motion Analysis Corp.).
def btk.btkANCFileIO.CanReadFile | ( | self, | args | ) |
CanReadFile(self, filename) -> bool Checks if the given filename can be read by this AcquisitionFileIO. This methods should try to read the file header instead to check the file's suffix.
def btk.btkANCFileIO.CanWriteFile | ( | self, | args | ) |
CanWriteFile(self, filename) -> bool Checks if the given filename can be write by this AcquisitionFileIO. This method should try to determine if the file's suffix corresponds to one of the supported file's suffixes by this btkAcquisitionFileIO.
def btk.btkANCFileIO.GetByteOrder | ( | self | ) |
GetByteOrder(self) -> btkAcquisitionFileIO_impl::ByteOrder Gets the byte order of the file (only for binary file).
def btk.btkANCFileIO.GetByteOrderAsString | ( | self | ) |
GetByteOrderAsString(self) -> std::string Gets the byte order as a string.
def btk.btkANCFileIO.GetFileGeneration | ( | self | ) |
GetFileGeneration(self) -> int Returns the generation of the ANC file.
def btk.btkANCFileIO.GetFileType | ( | self | ) |
GetFileType(self) -> btkAcquisitionFileIO_impl::FileType Gets the type of the file.
def btk.btkANCFileIO.GetInternalsUpdateOptions | ( | self | ) |
GetInternalsUpdateOptions(self) -> int Returns the option(s) used to update internals.
def btk.btkANCFileIO.GetStorageFormat | ( | self | ) |
GetStorageFormat(self) -> btkAcquisitionFileIO_impl::StorageFormat Return the format used to store points and analog channels.
def btk.btkANCFileIO.GetStorageFormatAsString | ( | self | ) |
GetStorageFormatAsString(self) -> std::string Gets the storage format as a string.
def btk.btkANCFileIO.HasInternalsUpdateOption | ( | self, | args | ) |
HasInternalsUpdateOption(self, option) -> bool Returns true if the given @a option is used or false if not.
def btk.btkANCFileIO.Read | ( | self, | args | ) |
Read(self, filename, output) Read the file designated by the given filename and fill the given btkAcquisition
def btk.btkANCFileIO.SetByteOrder | ( | self, | args | ) |
SetByteOrder(self, b) Sets the byte order of the file.
def btk.btkANCFileIO.SetFileGeneration | ( | self, | args | ) |
SetFileGeneration(self, gen) Set the generation of the ANC file.
def btk.btkANCFileIO.SetInternalsUpdateOptions | ( | self, | args | ) |
SetInternalsUpdateOptions(self, options) Sets the option(s) used to update internals.
def btk.btkANCFileIO.SetStorageFormat | ( | self, | args | ) |
SetStorageFormat(self, s) Set the format used to store points and analog channels.
def btk.btkANCFileIO.Write | ( | self, | args | ) |
Write(self, filename, input) Write the file designated by the given filename with the content of the given btkAcquisition.