We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
n_elms_longitudinal = np.linspace(1, 20, n_sim, dtype=int)
n_elms_transverse_trab = np.linspace(3, 50, n_sim, dtype=int)
n_elms_transverse_cort = np.linspace(1, 10, n_sim, dtype=int)
n_radial = np.linspace(3, 50, n_sim, dtype=int)
sweep = cfg.meshing_settings.sweep_factor
cfg.meshing_settings.n_elms_longitudinal = int(
n_elms_longitudinal[sweep - 1].item()
)
cfg.meshing_settings.n_elms_transverse_trab = int(
n_elms_transverse_trab[sweep - 1].item()
cfg.meshing_settings.n_elms_transverse_cort = int(
n_elms_transverse_cort[sweep - 1].item()
cfg.meshing_settings.n_elms_radial = int(n_radial[sweep - 1].item())
HFE/02_CODE/src/hfe_accurate/hfe_accurate.py
Line 40 in 1cfc4fd
# flake8: noqa: E402, W503 ''' # TODO: reactivate this for mesh sensitivity analysis # n_sim = int(15) # has to match sweep in config # min = 5, 5, 2, 7 # max = 20, 50, 10, 50 did not work, reducing to 20, 40, 10, 40 n_elms_longitudinal = np.linspace(1, 20, n_sim, dtype=int) n_elms_transverse_trab = np.linspace(3, 50, n_sim, dtype=int) n_elms_transverse_cort = np.linspace(1, 10, n_sim, dtype=int) n_radial = np.linspace(3, 50, n_sim, dtype=int) # update meshing settings with sweep factor for sensitivity analysis sweep = cfg.meshing_settings.sweep_factor cfg.meshing_settings.n_elms_longitudinal = int( n_elms_longitudinal[sweep - 1].item() ) cfg.meshing_settings.n_elms_transverse_trab = int( n_elms_transverse_trab[sweep - 1].item() ) cfg.meshing_settings.n_elms_transverse_cort = int( n_elms_transverse_cort[sweep - 1].item() ) cfg.meshing_settings.n_elms_radial = int(n_radial[sweep - 1].item()) ''' def pipeline_hfe(cfg, folder_id, grayscale_filename): # timing time_record = {}
The text was updated successfully, but these errors were encountered:
Merge pull request #6 from artorg-unibe-ch/main
94329cf
docs and updates ubelix
No branches or pull requests
n_sim = int(15) # has to match sweep in config
min = 5, 5, 2, 7
max = 20, 50, 10, 50 did not work, reducing to 20, 40, 10, 40
n_elms_longitudinal = np.linspace(1, 20, n_sim, dtype=int)
n_elms_transverse_trab = np.linspace(3, 50, n_sim, dtype=int)
n_elms_transverse_cort = np.linspace(1, 10, n_sim, dtype=int)
n_radial = np.linspace(3, 50, n_sim, dtype=int)
update meshing settings with sweep factor for sensitivity analysis
sweep = cfg.meshing_settings.sweep_factor
cfg.meshing_settings.n_elms_longitudinal = int(
n_elms_longitudinal[sweep - 1].item()
)
cfg.meshing_settings.n_elms_transverse_trab = int(
n_elms_transverse_trab[sweep - 1].item()
)
cfg.meshing_settings.n_elms_transverse_cort = int(
n_elms_transverse_cort[sweep - 1].item()
)
cfg.meshing_settings.n_elms_radial = int(n_radial[sweep - 1].item())
HFE/02_CODE/src/hfe_accurate/hfe_accurate.py
Line 40 in 1cfc4fd
The text was updated successfully, but these errors were encountered: