Good morning
is there an Help to wright 'custom condition' in Parameter?
Ricc
custom condition in parameter
Re: custom condition in parameter
For surface wave inversion, usually these conditions are left empty. The conditions automatically generated by the model parametrization are sufficient. For an external forward computation (plugin dinverext), this script is mandatory. Apart from the linear() function used to add a linear condition between parameters, you have also:
quadratic2 and 3, are not mentioned in the documentation. They can mix 2 and 3 parameters, respectively. Parameter values are squared, multiplied by their respective constants and summed. The sum must be greater or less than a constant (c).
Many other types of conditions could be implemented. According to your needs, they can be added.
Code: Select all
linear(<param1>, ">" | "<", <a>, <param2>, <b>)
quadratic2(<coef1>, <param1>, <coef2>, <param2>, ">" | "<", <c>)
quadratic3(<coef1>, <param1>, <coef2>, <param2>, <coef3>, <param3>, ">" | "<", <c>)
parameter(<name>, <unit>, <min>, <max>, <prec>, <scale>)
Many other types of conditions could be implemented. According to your needs, they can be added.