Python Forum
Laplace Inverse Transform Implementation
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Laplace Inverse Transform Implementation
#1
Hello

My name is Jafar. In a part of my research I need to use DE HOOG inverse Laplace transform algorithm in Python.

I found a code from this link:


I am confused about how this code works as I am not an expert in python.
For example I do not know how I can define my function in Laplace domain in this code.


Lets say I need to find the inverse Laplace transform of the below function at t=1:

F(s) = 1/(s-1)

The inverse Laplace transform of F(s) is : e^(t)

At t=1 the result is expected to be =  e

This code starts with :


def HoogTransform(t, gamma, bigT, N, FUN, meth, init, d, work):

I think the parameter FUN should be where I have to define the the F(s). I tried that
but I could not get the code to work.

Could you please tell me how I can define F(s) in this code and how I can extract the result at t=1?
If it is not possible to get it to work and you know of any other simpler implementation of DE HOOG algorithm for inverse Laplace transform, I appreciate you to let me know.
Thanks in advance for your time and attention.
Best Regards
Jafar
Reply


Messages In This Thread
Laplace Inverse Transform Implementation - by jafar1363 - Nov-15-2016, 03:59 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVED] Looking for documentation on Reportlab's canvas.transform() function NeilUK 1 636 Aug-23-2023, 01:21 PM
Last Post: NeilUK
  Transform Dic to dataframe d9d9d 4 1,411 Apr-14-2022, 09:35 AM
Last Post: perfringo
  Transform 3 Columns into Single Column DaveG 8 1,921 Apr-04-2022, 08:42 AM
Last Post: Pedroski55
  How to transform from wide to long format in python shantanu97 1 1,671 Nov-21-2021, 11:53 AM
Last Post: buran
  How inverse a number? Capitaine_Flam 8 3,328 Nov-20-2020, 10:34 AM
Last Post: perfringo
  Transform list or set regardless of nesting structure blubb 2 1,981 Mar-10-2020, 07:17 PM
Last Post: ibreeden
  Transform simplified dictionary to nested dictionaries bhojendra 1 2,395 Jul-02-2019, 02:05 PM
Last Post: ichabod801
  transform list to tuple with takaa 2 2,875 Nov-28-2017, 10:44 PM
Last Post: takaa

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020