Comments (6)
This is another sign of some of the problems with the continuum routines as in issue #155 and I am working to correct them. In the meantime, there is the v 0.7.0 release that works but the continuum calculations are not as good as in the current version, when I get it working again.
from chiantipy.
I wonder if this is fixed by #157 as well? The source of this error is much less obvious to me...
See comment below
from chiantipy.
@Astroprog could post the exact code snippet that led to this error?
from chiantipy.
@kdere I'm pretty sure this is just a consequence of executing the qsize()
method on Mac OS as indicted by the comment in the Traceback,
# Raises NotImplementedError on Mac OSX because of broken sem_getvalue()
The only option I think would be to find a different way of getting the queue size, at least on OS X. There is a similar issue here: vterron/lemon#11
from chiantipy.
Try running the calculation without calculating the continuum. The spectral line intensities calculations have not changed and this may tell us something
from chiantipy.
I just did this myself and the calculation worked for me.
temp=2.e+7 dens=1.e+9 wvl=1. + 0.002*arange(4501) import ChiantiPy.tools.filters as chfilters s3 = ch.spectrum(temp, dens, wvl, filter = (chfilters.gaussian,.015),doContinuum=0, em=1.e+27,minAbund=1.e-5,verbose=1,nproc=4)
because I was only working with the line intensities, neither ffworkerQ nor fbworkerQ are used. I suspect that is has not been tested this way. I think I have always calculated the ions and may or may not have calculated the continuum. I will try this once the continuum code gets working again.
from chiantipy.
Related Issues (20)
- Error on running provided jupyter notebooks in the repo HOT 3
- line identifications in spectrum plot HOT 13
- Ability to give custom abundance files HOT 8
- Error while using spectrum with elementList only when all the ions are not present in the masterlist HOT 7
- Unexpected behavior when setting minAbund lower than lowest abund HOT 3
- Error when giving "Zn" in elementlist HOT 2
- How much memory does the mspectrum process consumes? HOT 1
- Chianti is taking more threads than specified HOT 2
- Clarify emission measure units in the function documentations. HOT 2
- Question: Support for photons/keV completed? HOT 10
- Getting spectrum from Ch.spectrum without smoothing/filtering HOT 4
- IDL and ChiantiPy gives different results. HOT 4
- Possible typo in function's documentation HOT 1
- NaNs generated when calculating spectra under certain conditions HOT 9
- Upload 0.15.1 to PyPI HOT 3
- Non-ionization equilibrium? HOT 2
- Unable to load ioneq HOT 10
- Two-photon calculation? HOT 1
- Problem with mspectrum? HOT 9
- Unable to import ChiantiPy.core as ch HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chiantipy.