el_val = 21 ns_val = 190 set_id_val = 'valRpc' wrt_file = 'log_order%s_%s%s_%s%s_%s.txt' % (order, ns_cal, set_id_cal, ns_val, set_id_val, time.strftime("%Y-%m-%d_h%Hm%M")) ### TOTAL CALIBRATION PROCEDURE ### ## Read the calibration microstructures and build the microstructure function msf.msf(el_cal, ns_cal, Hi, H, order, set_id_cal, wrt_file) ## Read the responses from the FE .dat files and perform the fftn for the calibration fegrab.fegrab(el_cal, ns_cal, set_id_cal, wrt_file) ## Perform the calibration calibration.calibration_procedure(el_cal, ns_cal, H, set_id_cal, wrt_file) ### TOTAL VALIDATION PROCEDURE ### ## Read the validation microstructures and build the microstructure function msf.msf(el_val, ns_val, Hi, H, order, set_id_val, wrt_file) ## Read the responses from the FE .dat files and perform the fftn for the validation fegrab.fegrab(el_val, ns_val, set_id_val, wrt_file) ## Perform the validation validation_viz.validation_zero_pad(el_cal, el_val, ns_cal, ns_val, H, set_id_cal, set_id_val, wrt_file)
Mdir = 'M' doplt = 1 # if plotting of results desired set doplt = 1 wrt_file = 'log_order%s_%s%s_%s%s_%s.txt' % \ (order, ns_cal, set_id_cal, ns_val, set_id_val, time.strftime("%Y-%m-%d_h%Hm%M")) # TOTAL CALIBRATION PROCEDURE # Read the calibration microstructures and build the microstructure function H = msf.msf(el_cal, ns_cal, Hi, order, set_id_cal, Mdir, wrt_file) # Read the responses from the FE .dat files and perform the fftn for the # calibration fegrab.fegrab(el_cal, ns_cal, set_id_cal, dir_cal, wrt_file) # Perform the calibration calibration.calibration_main(el_cal, ns_cal, H, set_id_cal, wrt_file) # # TOTAL VALIDATION PROCEDURE # # Read the validation microstructures and build the microstructure function # msf.msf(el_val, ns_val, Hi, order, set_id_val, wrt_file) # # Read the responses from the FE .dat files and perform the fftn for the # # validation # fegrab.fegrab(el_val, ns_val, set_id_val, dir_val, wrt_file) # # Perform the validation # validation_viz.validation_zero_pad(el_cal, el_val, ns_cal, ns_val, H,
wrt_file = 'log_%s.txt' %(time.strftime("%Y-%m-%d_h%Hm%M")) ### TOTAL CALIBRATION PROCEDURE ### el_cal = 21 ns_cal = 150 set_id_cal = 'phi2is0edgeV4' set_id_abq = 'phi2is0edgeV4' ## Read the calibration microstructures and build the microstructure function msf.msf(el_cal,ns_cal,H,set_id_cal,wrt_file) ## Read the responses from the FE .dat files and perform the fftn for the calibration fegrab.fegrab(el_cal,ns_cal,set_id_cal,set_id_abq,wrt_file) ## Perform the calibration calibration.calibration_procedure(el_cal,ns_cal,H,set_id_cal,wrt_file) ### TOTAL VALIDATION PROCEDURE ### el_val = 21 ns_val = 50 set_id_val = 'val' ### Read the validation microstructures and build the microstructure function #msf.msf(el_val,ns_val,H,set_id_val,wrt_file) # ### Read the responses from the FE .dat files and perform the fftn for the validation
time.strftime("%Y-%m-%d_h%Hm%M")) # TOTAL CALIBRATION PROCEDURE # Read the calibration microstructures and build the microstructure function # H = msf.msf(el_cal, ns_cal, Hi, order, set_id_cal, wrt_file) # Read the responses from the FE .dat files and perform the fftn for the # calibration # fegrab.fegrab(el_cal, ns_cal, set_id_cal, dir_cal, wrt_file) # Perform the calibration H = 12 calibration.calibration_main(el_cal, ns_cal, H, set_id_cal, wrt_file) # # TOTAL VALIDATION PROCEDURE # Read the validation microstructures and build the microstructure function H = msf.msf(el_val, ns_val, Hi, order, set_id_val, wrt_file) # Read the responses from the FE .dat files and perform the fftn for the # validation fegrab.fegrab(el_val, ns_val, set_id_val, dir_val, wrt_file) # Perform the validation validation_viz.validation_zero_pad(el_cal, el_val, ns_cal, ns_val, H, set_id_cal, set_id_val, wrt_file) # Calculate the results of the validation results.results(el_val, ns_val, set_id_val, 'epsilon', doplt, wrt_file)