mosaicmpi.utils

mosaicmpi.utils#

Functions

get_adjusted_dpi(fig[, target_dpi])

Lower the DPI if figure size in pixels exceeds 2 ^ 16 in either direction.

load_df_from_npz(filename)

Load DataFrame from compressed npz file.

newline_wrap(string[, length])

Adds n characters to a string at a specified length.

node_to_program(node_str)

Converts nodes like "CPTAC|3|5" into program IDs like ("CPTAC", 3, 5).

program_to_node(program)

Converts program IDs like ("CPTAC", 3, 5) into node IDs like "CPTAC|3|5".

save_df_to_npz(obj, filename)

Save DataFrame to compressed npz file.

save_df_to_text(obj, filename)

Save DataFrame to tab-separated text file.

save_fig(fig, filepath_no_ext[, target_dpi, ...])

Save figure to one or more files with the same basename.

start_logging([output_path])

Starts logging to the console.