From b17b702b4b4e1cbb52f890482bfc23d9f2333864 Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Fri, 6 May 2016 16:31:44 +0100 Subject: [PATCH] Added base coordinate properties for use with rx_step. --- gprMax/receivers.py | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/gprMax/receivers.py b/gprMax/receivers.py index a23af955..5ac050fd 100644 --- a/gprMax/receivers.py +++ b/gprMax/receivers.py @@ -21,16 +21,13 @@ class Rx(object): availableoutputs = ['Ex', 'Ey', 'Ez', 'Hx', 'Hy', 'Hz', 'Ix', 'Iy', 'Iz'] - def __init__(self, xcoord=None, ycoord=None, zcoord=None): - """ - Args: - xcoord (float): x-coordinate of location in model. - ycoord (float): y-coordinate of location in model. - zcoord (float): z-coordinate of location in model. - """ + def __init__(self): self.ID = None self.outputs = [] - self.xcoord = xcoord - self.ycoord = ycoord - self.zcoord = zcoord \ No newline at end of file + self.xcoord = None + self.ycoord = None + self.zcoord = None + self.xcoordbase = None + self.ycoordbase = None + self.zcoordbase = None \ No newline at end of file