BEAST-Fitting / beast

Bayesian Extinction And Stellar Tool
http://beast.readthedocs.io
23 stars 34 forks source link

plot_noisemodel command line execution doesn't work for multiple noise model files #696

Open galaxyumi opened 3 years ago

galaxyumi commented 3 years ago

I tried to plot up noise models for multiple source density bins using the following command in the command line, but it did not work. I had to execute the plot_noisemodel function in the python interpreter instead.

My command in the command line was "beast plot_noisemodel beast_seds.grid.hd5 ['beast_noisemodel_bin1.grid.hd5', 'beast_noisemodel_bin2.grid.hd5'] noisemodel_plot.png

karllark commented 3 years ago

What was the error? Please cut and paste it in a comment. Thanks.

galaxyumi commented 3 years ago

It seems like a list of noisemodel files are not properly digested. Please see the error message below.

karllark commented 3 years ago

Looking at this, I don't see how the command line interface that goes through the beast command method. It might be possible to do this if you call the plot_noisemodel.py script directly.