Skip to content
Snippets Groups Projects

Adds fixed_arguments to the wfg

Merged Gregory Ashton requested to merge add-fixed-arguments into master
2 unresolved threads

@colm.talbot @moritz.huebner

This is a way we could get around "passing in" fixed parameters in a more explicit way. What do you think?

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
37 39
38 40 def __init__(self, time_duration, sampling_frequency, frequency_domain_source_model=None,
39 41 time_domain_source_model=None, parameters=None, parameter_conversion=None,
40 non_standard_sampling_parameter_keys=None):
42 non_standard_sampling_parameter_keys=None, fixed_arguments={}):
41 43 self.time_duration = time_duration
  • 37 39
    38 40 def __init__(self, time_duration, sampling_frequency, frequency_domain_source_model=None,
    39 41 time_domain_source_model=None, parameters=None, parameter_conversion=None,
    40 non_standard_sampling_parameter_keys=None):
    42 non_standard_sampling_parameter_keys=None, fixed_arguments={}):
  • Gregory Ashton added 1 commit

    added 1 commit

    • 587d567f - Rename fixed_arguments to waveform_arguments

    Compare with previous version

  • Gregory Ashton added 1 commit

    added 1 commit

    • 988bb9df - Updates all examples to use new argument

    Compare with previous version

  • Gregory Ashton added 1 commit

    added 1 commit

    • d1e3f28f - Fix bug when converting parameters

    Compare with previous version

  • Gregory Ashton added 53 commits

    added 53 commits

    Compare with previous version

  • Gregory Ashton mentioned in commit becaf30b

    mentioned in commit becaf30b

  • Please register or sign in to reply
    Loading