Code Monkey home page Code Monkey logo

pycbc-inference-paper's Issues

How to thinned the posterior samples?

I use the script in run_files and get "gw150914_inference.hdf" file,
but it is not same with "gw150914_posteriors_thinned.hdf".

Could you introduce the method of how to thinned the posterior samples?

how to work with latest release v1.13.5

Is it possible to run the code using the latest pycbc release 1.13.5? Tried to change the import pycbc.io.inference_hdf.InferenceFile in 1.12.3 to pycbc.infererence.io.base_hdf.BaseInferenceFile, but it didn't work, giving the error messages: TypeError: Can't instantiate abstract class BaseInferenceFile with abstract methods read_raw_samples, write_posterior, etc.

RuntimeError: Can't find MKL libraries

Hello, I use the docker version, but get this error, no MKL.

(pycbc-software) [pycbc@24f913201669 GW151226]$ ls
extract_independent_samples.sh gw151226_inference.ini run_pycbc_inference_gw151226.sh
(pycbc-software) [pycbc@24f913201669 GW151226]$ pwd
/home/pycbc/pycbc-inference-paper/run_files/GW151226
(pycbc-software) [pycbc@24f913201669 GW151226]$ bash run_pycbc_inference_gw151226.sh
1135136340
1135136356
1135136238
1135137262
/home/pycbc/pycbc-software/lib/python2.7/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
2019-06-03 16:42:42,073 Using seed 12
Traceback (most recent call last):
File "/home/pycbc/pycbc-software/bin/pycbc_inference", line 4, in
import('pkg_resources').run_script('PyCBC==1.12.3', 'pycbc_inference')
File "/home/pycbc/pycbc-software/lib/python2.7/site-packages/pkg_resources/init.py", line 654, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/pycbc/pycbc-software/lib/python2.7/site-packages/pkg_resources/init.py", line 1434, in run_script
exec(code, namespace, namespace)
File "/home/pycbc/pycbc-software/lib/python2.7/site-packages/PyCBC-1.12.3-py2.7-linux-x86_64.egg/EGG-INFO/scripts/pycbc_inference", line 195, in
ctx = scheme.from_cli(opts)
File "/home/pycbc/pycbc-software/lib/python2.7/site-packages/PyCBC-1.12.3-py2.7-linux-x86_64.egg/pycbc/scheme.py", line 262, in from_cli
ctx = MKLScheme()
File "/home/pycbc/pycbc-software/lib/python2.7/site-packages/PyCBC-1.12.3-py2.7-linux-x86_64.egg/pycbc/scheme.py", line 149, in init
raise RuntimeError("Can't find MKL libraries")
RuntimeError: Can't find MKL libraries
(pycbc-software) [pycbc@24f913201669 GW151226]$

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.