Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' into ap_by_dpe
Browse files Browse the repository at this point in the history
  • Loading branch information
zhut19 committed Mar 31, 2022
2 parents 0588122 + 262cf67 commit 6302826
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wfsim/load_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ def __init__(self, config=None):

if config.get('field_distortion_model', "none") == "inverse_fdc":
self.fdc_3d = make_map(files['fdc_3d'], fmt='json.gz')
self.fdc_3d.scale_coordinates([1., 1., - config['drift_velocity_liquid']])

if config.get('field_distortion_model', "none") == "comsol":
self.fd_comsol = make_map(config['field_distortion_comsol_map'], fmt='json.gz', method='RectBivariateSpline')
Expand Down

0 comments on commit 6302826

Please sign in to comment.