Block data calculation script.
For a MD Simulation, calculates properties from log, energy and simbox
files Calculates block averages of properties in energy file.
Copyright Schrodinger, LLC. All rights reserved.
|
_debug_print(s)
Prints the string 's' if 'is_debugging' is True. |
|
|
|
|
|
calc_block_average(ene_fname,
prop_list,
sba_fname,
start_line,
time_column=0,
start_time=0.0,
block_length=10.0) |
|
|
|
get_listof_props_ene(ene_fname)
Given a .ene file, parse the ]header and get a list of properties. |
|
|
|
get_print_simbox_data(simbox_fname,
sba_fname)
Given a simbox.dat file, parse the file and print simulation box
details in the sba file. |
|
|
|
|
|
get_log_props(log_fname)
Given a .log file, parse the header and determine if it completed
okay. |
|
|
|
parse_sba(sba_fname)
Given name of a sba file name find all blocks except time and job
details and return their average, sd and slope. |
|
|
|
get_block_summary(inp_content,
start_index,
stop_index)
From block content get averages, sd, slope and units. |
|
|
|
write_sba_file(ene,
log,
sbafile,
simboxfile=None,
block_len=10.0)
Write the sba file from specified *.ene and *.log files. |
|
|