lib5c.parsers.scaled module

Module for parsing .scaled files.

lib5c.parsers.scaled.load_scaled(scaledfile)[source]

Loads the scaled values from a .scaled file into square, symmetric arrays and returns them.

Parameters:scaledfile (str) – String reference to location of .scaled file to load counts from.
Returns:The keys are the region names. The values are the arrays of scaled values for that region. These arrays are square and symmetric.
Return type:dict of 2d arrays
lib5c.parsers.scaled.main()[source]