[qopen] alternative green's function
Tom Eulenfeld
tom.eulenfeld at uni-jena.de
Fri May 4 10:27:41 CEST 2018
Hi Manuel,
I tried to tweak the mailing list settings a bit. Please try again :)
The only constraint should be that "[qopen]" is part of the subject.
I pushed some commits to the repository which should solve the
multiprocessing problem on MacOS. Can you install the dev version with
pip uninstall qopen
pip install https://github.com/trichter/qopen/archive/master.zip
and confirm that it is working? Then, I can publish a new version.
The fix basically loads a non-interactive backend for matplotlib by
default. You can do this on your own with
import matplotlib
matplotlib.use('agg')
from qopen import run
run(conf="conf.json")
Best!
Tom
On 03.05.2018 19:22, Jaimes Caballero, Manuel Alejandro wrote:
> Hi Dr. Eulenfeld,
>
> I tried sending it to the mailing list but it was rejected for some
> reason. Thanks for the quick response. I'm trying to run the command
> that is on the qopen website via python : from qopen import run . Then I
> execute run(conf="conf.json") but the multiprocessing issue comes up
> again, is there a similar way to execute the run line as with
> run_cmdline().
> Feel free through email me back through the mailing list, I don't quite
> know how it works yet.
>
> Thanks,
>
> Manuel Jaimes.
>
> On Thu, May 3, 2018 at 5:14 AM, Tom Eulenfeld <tom.eulenfeld at uni-jena.de
> <mailto:tom.eulenfeld at uni-jena.de>> wrote:
>
> Hi Jaimes,
>
> yes it is possible to change the Green's function. It's best done in
> a new module, which can be specified in the config file with option
> "G_module". Please also see the example config file for some
> documentation. Note that only a single scattering parameter (called
> g0) can be used.
>
> Yes, the optimization plots already account for site amplification.
> I think it is best described in the caption of one figure inside the
> publication cited on the github page.
>
> For further questions, may I ask you to write via the mailing list
> again (and specify reasonable subject)? I will answer there. Thanks!
>
> Best,
> Tom
>
>
> On 02.05.2018 18:11, Jaimes Caballero, Manuel Alejandro wrote:
>
> Hi Dr. Eulenfeld,
>
> Thanks a lot for the help. In the source code it should be
> possible to change the 3-D green's function , right? . Also, do
> the optimized plots already account for the site amplification
> factor?, from what I understand from the code they do but I just
> want to verify so.
>
> Thanks,
>
> Manuel Jaimes
>
>
More information about the seistools
mailing list