Skip to content

Feat/plateaux for t0 extraction - #292

Open
jkuhl-uni wants to merge 2 commits into
fjosw:developfrom
jkuhl-uni:feat/t0_diagnostics
Open

Feat/plateaux for t0 extraction#292
jkuhl-uni wants to merge 2 commits into
fjosw:developfrom
jkuhl-uni:feat/t0_diagnostics

Conversation

@jkuhl-uni

Copy link
Copy Markdown
Collaborator

Hi,
this is a pitch for an additional plot that can be generated during the extraction of the flowed energy density.
With a new kwarg, "plot_Ysl", the functions also produce a plot of the plateaus used to extract t0/w0, which (at the moment) looks as follows:
additional_output
This is useful to check whether the plateau region the user gives by means of xmin in the function calls can indeed be justified by the data, which is of course crucial for a reliable extraction of t0. This is something that Patrick suggested to me during our analyses and I thought it might be worth sharing with others, as the implementation is a bit tedious when using the currently available pyerrors read routines.

Please let me know what you think. I am aware that the plot has limitations in terms of customizability, see particularly ll. 93,94, which hardcodes how many plateaus are shown. Altering this would also mean to alter the signature of _extract_flowed_energy_density which is why I refrained from it for the time being.

@jkuhl-uni
jkuhl-uni requested a review from fjosw as a code owner August 12, 2026 10:00
@jkuhl-uni
jkuhl-uni requested a review from s-kuberski August 12, 2026 10:00
@fjosw
fjosw requested a balanced review from Copilot August 12, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant