-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ch_ss like synthetic spectra with chiantipy #311
Comments
Update: So I guess my question now is, am I doing this the hard way or is there a functionality in ChiantiPy that uses the DEM files that I am missing? Also, is there a different way I should be inputting the wavelength range so it is used by bunch? |
ChiantiPy does not currently use the .dem files. If you convert the to emission measures, the can be used a the em input. I don't understand why you need a different way to input the temperature into bunch hope this is of some help |
Thanks for the response Ken. If ChiantiPy isn't yet set up for DEMs then multiplying by dT prior to summing is what I'll do. Would it make sense to update Intensity['integrated'] to account for non-uniform temperature spacing?
Sorry, I was asking about the wavelength input. I still don't understand why bunch.Intensity ignores the wavelength range input? |
I will check into bunch for the wavelength range input. Thanks for pointing this out |
I think I have fixed this in the github repository. |
Hello all,
I am attempting to reproduce the results from ch_ss using Chiantipy under the following conditions:
Constant Pressure = 1e+15
DEM = 'quiet_sun.dem'
abundance = 'sun_coronal_2012_schmelz'
wavelength_range = 580 - 630 Angstroms
So far I have tried the bunch and spectrum classes, but I am struggling to get the information I need out of those objects (pouring over the documentation and code now).
A few things I have noticed so far:
I can't find a constant pressure option, so I have tried to calculate it and input a density array,
I can't find a DEM option, so I have loaded in the temperatures and em manually,
ion_list keyword works great for bunch, but throws and error in spectrum,
bunch.Intensity seems to ignore the wavelength range input into ch.bunch
So far bunch.intensityList() seems to be the closest to what I want, but I'm not sure the best way to integrate over temperature since it takes the index input. I've sorted bunch.Intensity to only contain the lines within wavelength the range I want and get the same number of lines as ch_ss. The brightest 10 lines in Intensity['integrated'] seem to at least be the correct lines, but the intensity and relative intensities are different from ch_ss.
I feel like I am close but am missing a few key things about these objects, any help is appreciated. Here is my test so far:
Thanks,
Jake
The text was updated successfully, but these errors were encountered: