astrostat / pyblocxs Goto Github PK
View Code? Open in Web Editor NEWMCMC module for X-ray analysis in Sherpa
License: BSD 3-Clause "New" or "Revised" License
MCMC module for X-ray analysis in Sherpa
License: BSD 3-Clause "New" or "Revised" License
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
It would be nice to make pyblocxs
installable via pip
, for this one could just copy it into an existing Python package template e.g. https://packaging-guide.openastronomy.org/en/latest/ and provide minimal documentation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.