Skip to content

Commit

Permalink
ignored more flake8 checks
Browse files Browse the repository at this point in the history
  • Loading branch information
pjflux2001 committed Oct 14, 2023
1 parent 3cf0de9 commit 2d24eb3
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions src/polyphy/core/discrete3D.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,16 @@ def register_data(self, ppData):
self.DOMAIN_SIZE_MAX = np.max(
[ppData.DOMAIN_SIZE[0], ppData.DOMAIN_SIZE[1], ppData.DOMAIN_SIZE[2]])
self.TRACE_RESOLUTION = PPTypes.INT_CPU((
PPTypes.FLOAT_CPU(self.TRACE_RESOLUTION_MAX) * ppData.DOMAIN_SIZE[0] /
self.DOMAIN_SIZE_MAX,
PPTypes.FLOAT_CPU(self.TRACE_RESOLUTION_MAX) * ppData.DOMAIN_SIZE[1] /
self.DOMAIN_SIZE_MAX,
PPTypes.FLOAT_CPU(self.TRACE_RESOLUTION_MAX) * ppData.DOMAIN_SIZE[2] /
self.DOMAIN_SIZE_MAX))
PPTypes.FLOAT_CPU(self.TRACE_RESOLUTION_MAX) * ppData.DOMAIN_SIZE[0] /
self.DOMAIN_SIZE_MAX,
PPTypes.FLOAT_CPU(self.TRACE_RESOLUTION_MAX) * ppData.DOMAIN_SIZE[1] /
self.DOMAIN_SIZE_MAX,
PPTypes.FLOAT_CPU(self.TRACE_RESOLUTION_MAX) * ppData.DOMAIN_SIZE[2] /
self.DOMAIN_SIZE_MAX))
self.DEPOSIT_RESOLUTION = (
self.TRACE_RESOLUTION[0] //
PPConfig.DEPOSIT_DOWNSCALING_FACTOR,
self.TRACE_RESOLUTION[1] //
PPConfig.DEPOSIT_DOWNSCALING_FACTOR,
self.TRACE_RESOLUTION[2] //
PPConfig.DEPOSIT_DOWNSCALING_FACTOR)
self.TRACE_RESOLUTION[0] // PPConfig.DEPOSIT_DOWNSCALING_FACTOR,
self.TRACE_RESOLUTION[1] // PPConfig.DEPOSIT_DOWNSCALING_FACTOR,
self.TRACE_RESOLUTION[2] // PPConfig.DEPOSIT_DOWNSCALING_FACTOR)

# Check if these are set and if not give them decent initial estimates
if self.sense_distance < 1.e-4:
Expand Down

0 comments on commit 2d24eb3

Please sign in to comment.