[ET Trac] #2413: Include "POWER" code to extrapolate waveforms to scri+ into ET

Gabriele Bozzola trac-noreply at einsteintoolkit.org
Thu May 6 10:16:07 CDT 2021


#2413: Include "POWER" code to extrapolate waveforms to scri+ into ET

 Reporter: Roland Haas
   Status: open
Milestone: 
  Version: 
     Type: task
 Priority: major
Component: EinsteinToolkit thorn

Comment (by Gabriele Bozzola):

> Right now using FROM\_TWOPUNCTURES serves the purpose that is being suggested for f0 = None \(FROM\_TWOPUNCTURES is just a string and I only use the variable name to try and avoid typos as much as possible given that Python is fully dynamically typed and requires no variable declarations at all\). I would rather not use None for this since there is only one None and one can get the total mass also in other ways which is easy to do by having another FROM\_XXX but not if None is already taken.

I understand the reasoning now and it makes sense.

> You can use `power.py` as a Python module `import power` then call the Python functions directly. This means you have to write Python code rather than shell code.

My personal preference would be to call power with something like `power.py …. --f0 0.1 --ADM 1 --method POWER .` as opposed to creating a Python script, figuring out the function signature, taking care of saving the data myself, et cetera. Also, extending the `main()` function does not affect the functionalities for when you import `power` as a module, so you can still write Python code in exactly the same way.

‌

> My first guesses for bad POWER output would be:

* make sure your psi4 starts and ends at 0 amplitude
* make you may have to change the list of detectors being used, using detectors too far out or in can give bad results
* TODO: probably there should be options to control the order of the polynomials that are being fit to the data

I’ll try to play around and see.

‌

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2413/include-power-code-to-extrapolate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20210506/a8e98de2/attachment.html 


More information about the Trac mailing list