From 4f4c4979b83faeb9c09a38ac93a4a4324e468902 Mon Sep 17 00:00:00 2001 From: samncorn Date: Thu, 29 Feb 2024 12:54:43 -0600 Subject: [PATCH] changed variable name to be more clear --- src/sorcha/modules/PPTrailingLoss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sorcha/modules/PPTrailingLoss.py b/src/sorcha/modules/PPTrailingLoss.py index bf5eb595..2fe7eab6 100755 --- a/src/sorcha/modules/PPTrailingLoss.py +++ b/src/sorcha/modules/PPTrailingLoss.py @@ -106,7 +106,7 @@ def calcTrailingLoss( def PPTrailingLoss( oif_df, model="circularPSF", - dra_name="AstRARate(deg/day)", + dra_cosdec_name="AstRARate(deg/day)", ddec_name="AstDecRate(deg/day)", dec_name="AstDec(deg)", seeing_name_survey="seeingFwhmEff", @@ -147,7 +147,7 @@ def PPTrailingLoss( """ dmag = calcTrailingLoss( - oif_df[dra_name], + oif_df[dra_cosdec_name], oif_df[ddec_name], oif_df[seeing_name_survey], model=model,