Replies: 1 comment 1 reply
-
A very good question pointing out that there is a documentation missing. For an example of writing a transformation function see the SymLog under Line 39 in c260199 One has to write four methods: a constructor, a forward and reverse transformation, and a derivative, all of them should be easy to implement. Actually, in the C++ core, there is already a (template) class If you want to invert for porosity instead of slowness (the intrinsic property for traveltime), you would have to invert the function, i.e. the forward function is |
Beta Was this translation helpful? Give feedback.
-
I want to write a transformation of porosity to slowness:$s = \frac{1}{{v_m + (v_f - v_m) \cdot \phi}}$ for the TT simulation. This formula could not be written out by the existing functions like pygimli.trans.TransLin() and pygimli.trans.TransPower() individually. So how could I define a tailored transformation function myself?
Beta Was this translation helpful? Give feedback.
All reactions