Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
DurhamDecLab committed Feb 15, 2019
1 parent 1637807 commit e87a9b1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ARBTools/ARBInterp.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ def Query3(self, query):
def sQuery1(self, query):
### Removes particles that are outside of interpolation volume
if query[0] < self.xIntMin or query[0] > self.xIntMax or query[1] < self.yIntMin or query[1] > self.yIntMax or query[2] < self.zIntMin or query[2] > self.zIntMax:
print ('--- Query point outside interpolation volume --- ')
return np.nan
else:
### How many cuboids in is query point
Expand Down Expand Up @@ -251,7 +250,6 @@ def sQuery1(self, query):
def sQuery2(self, query):
### Removes particles that are outside of interpolation volume
if query[0] < self.xIntMin or query[0] > self.xIntMax or query[1] < self.yIntMin or query[1] > self.yIntMax or query[2] < self.zIntMin or query[2] > self.zIntMax:
print ('--- Query point outside interpolation volume --- ')
return np.nan
else:
### How many cuboids in is query point
Expand Down Expand Up @@ -289,7 +287,6 @@ def sQuery2(self, query):
def sQuery3(self, query):
### Removes particles that are outside of interpolation volume
if query[0] < self.xIntMin or query[0] > self.xIntMax or query[1] < self.yIntMin or query[1] > self.yIntMax or query[2] < self.zIntMin or query[2] > self.zIntMax:
print ('--- Query point outside interpolation volume --- ')
return np.nan
else:
### How many cuboids in is query point
Expand Down

0 comments on commit e87a9b1

Please sign in to comment.