Skip to content

Add self-describing header to compute_shc output (shc.out)#1581

Open
erhart1 wants to merge 1 commit into
masterfrom
enh/add-header-to-shc-output
Open

Add self-describing header to compute_shc output (shc.out)#1581
erhart1 wants to merge 1 commit into
masterfrom
enh/add-header-to-shc-output

Conversation

@erhart1

@erhart1 erhart1 commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

This PR adds a #-comment header block to shc.out, following the pattern established for other measure output files (#1579).

shc.out contains two structurally distinct datasets (correlation function and spectral heat current) with different column semantics, so the header uses # columns_correlation and # columns_shc instead of a single # columns line.
The header also records # num_correlation_rows and # num_frequency_rows to make the block boundaries unambiguous for parsers.
When group_id -1 is used (all groups), # num_output_groups gives the number of block pairs written.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant