Skip to content

Virtual TCP Processing

owenmylotte edited this page May 2, 2023 · 3 revisions

Virtual TCP post processing allows for comparison between DNS values and the values measured by the simulated camera. Use of TCP post processing requires access to a CHREST formatted set of boundary TCP viewer files and DNS domain files. Currently, these files can be found in the PMMA CHREST Teams folder which contains test tcp files.

Some example options to run with vtcpData.py which should work on the above files: --base_path /path/to/wherever/you/downloaded/the/files --file boundaryFacesFront_radiationFluxMonitor..chrest/boundaryFacesFront_radiationFluxMonitor..chrest.*.hdf5 --fields red green blue --exposure_time 0.0004 --name thing --dns domain..chrest/domain..chrest.*.hdf5 --tcp_axis x

The '--save' option is on by default. This will save the resulting figures to a folder inside the download folder called 'figures.' This output can be redirected using the '--write_path' option, which defaults to the '--base_path'.

Clone this wiki locally