Coder Social home page Coder Social logo

pyblocxs's Introduction

pyblocxs

MCMC module for X-ray analysis using CIAO/Sherpa

Accounts for calibration uncertainty (effective areas only) using PragBays and FullBayes.

References:

  • Analysis of Energy Spectra with Low Photon Counts via Bayesian Posterior Simulation van Dyk, D.A., Connors, A., Kashyap, V.L., and Siemiginowska, A., 2001, ApJ, 548, 224 https://ui.adsabs.harvard.edu/abs/2001ApJ...548..224V/abstract
  • pyblocxs: Bayesian Low-Counts X-ray Spectral Analysis in Sherpa Siemiginowska, A. ; Kashyap, V. ; Refsdal, B. ; van Dyk, D. ; Connors, A. ; Park, T., ADASS, ASP Conference Vol. 442, p.439 https://ui.adsabs.harvard.edu/abs/2011ASPC..442..439S/abstract
  • How to handle calibration uncertainties in high-energy Astrophysics Kashyap, V.L., Lee, H., Siemiginowska, A., McDowell, J., Rots, A., Drake, J., Ratzlaff, P., Zezas, A., Izem, R., Connors, A., van DYk, D., and Park, T., 2008, Observatory Operations: Strategis, Processes, and Systems, Eds. Roger J. Brissenden and David R. Silva, Proc. of SPIE, v7016, pp.70160P-70160P-8 https://ui.adsabs.harvard.edu/abs/2008SPIE.7016E..0PK/abstract
  • Accounting for Calibration Uncertainties in X-ray Analysis: Effective Areas in Spectral Fitting Lee, H., Kashyap, V.L., van Dyk, D.A., Connors, A., Drake, J.J., Izem, R., Meng, X.-L., Min, S., Park, T., Ratzlaff, P., Siemiginowska, A., and Zezas, A., 2011, ApJ, 731, 126 https://ui.adsabs.harvard.edu/abs/2011ApJ...731..126L/abstract
  • A Fully Bayesian Method for Jointly Fitting Instrumental Calibration and X-Ray Spectral Models Xu, J., van Dyk, D.A., Kashyap, V.L., Siemiginowska, A., Connors, A., Drake, J., Meng, X.-L., Ratzlaff, P., and Yu, Y., 2014, ApJ, 794, 97 https://ui.adsabs.harvard.edu/abs/2014ApJ...794...97X/abstract

pyblocxs's People

Contributors

anetasie avatar vkashyap avatar

Stargazers

Volodymyr Marchenko avatar  avatar Evandro Martinez Ribeiro avatar Sreekumar Thaithara Balan avatar  avatar Youli Tuo avatar

Watchers

James Cloos avatar  avatar  avatar Andy Ptak avatar  avatar Volodymyr Marchenko avatar

pyblocxs's Issues

Problem with pyblocxs and ciao 4.10

Hi,

I have initialised ciao and set the PYTHONPATH variable to point to the unzipped yblocxs-master directory but it refuses to load into python, see below. Is this a python 2 vs python 3 issue?

Thanks for any help,
Rhys Morris

source /usr/local/ciao64/ciao-4.10/bin/ciao.bash
CIAO configuration is complete...
CIAO 4.10 Thursday, April 12, 2018
bindir : /usr/local/ciao64/ciao-4.10/bin
CALDB : 4.7.9

which python
/usr/local/ciao64/ciao-4.10/bin/python

export PYTHONPATH=/usersc/phrahm/pyblocxs-master

python
Python 3.5.4 (default, Oct 25 2017, 15:37:39)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-18)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import pyblocxs
Traceback (most recent call last):
File "", line 1, in
File "/usersc/phrahm/pyblocxs-master/pyblocxs.py", line 1, in
from ui import *
File "/usersc/phrahm/pyblocxs-master/ui.py", line 35
raise RuntimeError, "No fit results available!"
^
SyntaxError: invalid syntax

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.