From 30ddf45a3ae3d9cac7b304c040b9de3a1eb9bf3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20N=C3=B6the?= Date: Fri, 9 Mar 2018 12:02:58 +0100 Subject: [PATCH 1/2] Also adapt simulation source pos keys --- fact/analysis/scripts/theta.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fact/analysis/scripts/theta.py b/fact/analysis/scripts/theta.py index 4b6c185..576871f 100644 --- a/fact/analysis/scripts/theta.py +++ b/fact/analysis/scripts/theta.py @@ -46,16 +46,16 @@ def calc_theta_coordinates(df): df['theta_deg'] = calc_theta_camera( df.source_x_prediction, df.source_y_prediction, - df.zd_source_calc, - df.az_source_calc, + df['source_position_zd'], + df['source_position_az'], zd_pointing=df['pointing_position_zd'], az_pointing=df['pointing_position_az'], ) theta_offs = calc_theta_offs_camera( df.source_x_prediction, df.source_y_prediction, - df.zd_source_calc, - df.az_source_calc, + df['source_position_zd'], + df['source_position_az'], zd_pointing=df['pointing_position_zd'], az_pointing=df['pointing_position_az'], n_off=5, @@ -77,7 +77,7 @@ def calc_theta_coordinates(df): @click.argument('INPUTFILE') @click.option( '-s', '--source', - help='Source name, if not given, take `az_source_calc`, and `zd_source_calc`' + help='Source name, if not given, take `source_position_az`, and `source_position_zd`' ) @click.option('-c', '--chunksize', type=int, default=10000) @click.option('-y', '--yes', is_flag=True, help='Do not ask to overwrite existing keys') From d7d0c8c77400e37446447e3f409427a5fdcebebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20N=C3=B6the?= Date: Mon, 12 Mar 2018 11:00:43 +0100 Subject: [PATCH 2/2] Bump version --- fact/VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fact/VERSION b/fact/VERSION index 3f46c4d..41915c7 100644 --- a/fact/VERSION +++ b/fact/VERSION @@ -1 +1 @@ -0.19.0 \ No newline at end of file +0.19.1