From 726d68db4ba022193ce6895537860b81c63d4875 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Dec 2025 14:46:13 +0000 Subject: [PATCH 1/2] Initial plan From 3b2fd2a71545322f35887e83746695241a0df884 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Dec 2025 14:49:59 +0000 Subject: [PATCH 2/2] Assign vv/tt to rotation_profile variable for consistency with docs Co-authored-by: michael-petersen <19195541+michael-petersen@users.noreply.github.com> --- exptool/observables/velocity.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exptool/observables/velocity.py b/exptool/observables/velocity.py index 6f3bf75..f030e80 100644 --- a/exptool/observables/velocity.py +++ b/exptool/observables/velocity.py @@ -80,4 +80,6 @@ def measured_rotation(infile, comp, rmax=0.06, nsamp=256): rbins = np.linspace(0.0, rmax, nsamp) # Compute rotation velocity profile by normalizing weighted density by unweighted density - return rbins, vv / tt + rotation_profile = vv / tt + + return rbins, rotation_profile