Module otdrs::parser[][src]

Constants

BLOCK_ID_CHECKSUM

Block header string for the checksum block

BLOCK_ID_DATAPTS

Block header string for the data points block

BLOCK_ID_FXDPARAMS

Block header string for the fixed parameters block

BLOCK_ID_GENPARAMS

Block header string for the general parameters block

BLOCK_ID_KEYEVENTS

Block header string for the key events block

BLOCK_ID_LNKPARAMS

Block header string for the link parameters block

BLOCK_ID_MAP

Block header string for the map block

BLOCK_ID_SUPPARAMS

Block header string for the supplier parameters block

Functions

data_points_at_scale_factor

Parse the data points at a defined scale factor within the DataPoints block

data_points_block

Parse the DataPoints block and extract all the points for each scale factor

fixed_parameters_block

Parse the fixed paramters block, which contains most of the information required to interpret the stored data.

general_parameters_block

Parse the general parameters block, which contains acquisition information as well as locations/identifiers.

key_event

Parse any key event, except for the final key event, which is parsed with last_key_event as it differs structurally

key_events_block

Parse the key events block

landmark

Parse a landmark from the link parameters block

last_key_event

Parse the final key event in the key events block, which contains much of the end-to-end loss definitions

link_parameters_block

Extract link parameters and encoded landmarks from the LinkParams block.

map_block

Parses the map block in a SOR file, which contains information about the location of all blocks in the file

parse_file

Parse a complete SOR file, extracting all known and proprietary blocks to a SORFile struct.

proprietary_block

Parse the header string from a proprietary block, and return the remaining data for external parsers.

supplier_parameters_block

Parse the supplier parameters block, which contains information about the OTDR equipment used.