kevin218 / poet Goto Github PK
View Code? Open in Web Editor NEWPOET pipeline for reduction of Spitzer data
License: GNU General Public License v3.0
POET pipeline for reduction of Spitzer data
License: GNU General Public License v3.0
TLDR: Matplotlib has changed the valid options for imshow. Commenting out the 'origin' keyword results in a successful execution and avoids the error trace below.
$ python poet.py p1
Traceback (most recent call last):
File "/home/ianc/proj/spitzer/hd73344/poet/run/poet.py", line 44, in
e = p1.Event(arg)
File "/home/ianc/python/POET/code/lib/poet_1event.py", line 44, in init
self.check()
File "/home/ianc/python/POET/code/lib/poet_1event.py", line 410, in check
plt.imshow(image, interpolation='nearest', origin='ll', cmap=plt.cm.gray)
File "/home/ianc/miniconda3/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 456, in wrapper
return func(*args, **kwargs)
File "/home/ianc/miniconda3/lib/python3.9/site-packages/matplotlib/pyplot.py", line 2640, in imshow
__ret = gca().imshow(
File "/home/ianc/miniconda3/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 456, in wrapper
return func(*args, **kwargs)
File "/home/ianc/miniconda3/lib/python3.9/site-packages/matplotlib/init.py", line 1412, in inner
return func(ax, *map(sanitize_sequence, args), **kwargs)
File "/home/ianc/miniconda3/lib/python3.9/site-packages/matplotlib/axes/_axes.py", line 5482, in imshow
im = mimage.AxesImage(self, cmap, norm, interpolation,
File "/home/ianc/miniconda3/lib/python3.9/site-packages/matplotlib/image.py", line 929, in init
super().init(
File "/home/ianc/miniconda3/lib/python3.9/site-packages/matplotlib/image.py", line 249, in init
_api.check_in_list(["upper", "lower"], origin=origin)
File "/home/ianc/miniconda3/lib/python3.9/site-packages/matplotlib/_api/init.py", line 129, in check_in_list
raise ValueError(msg)
ValueError: 'll' is not a valid value for origin; supported values are 'upper', 'lower'
Hi Kevin et al. - nice work on this!! I almost got everything working in Python 3 without a hitch, but I'm running into one weird issue.
I compiled the c modules using the build.sh script in models_c. There were no compilation errors. However, when I run UnitTest.py I get two errors:
Bilinint: FAIL to load
Nnint: FAIL to load
All the other extensions are fine. Have you run into this, or have any idea what the problem might be?
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.