Skip to content
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

Help with fit templates: missing template and how to make a new one #69

Open
AlexandrosKoukras opened this issue Mar 30, 2023 · 2 comments

Comments

@AlexandrosKoukras
Copy link

Hello,

I am studying a set of EIS observations but I noticed that there are not fit templates for all the lines in my dataset.
Even for lines that spectral windows are centered on, like S VIII 198.55 or Mg VII 280.720.

I was able to fit the data of these lines with other methods (e.g. astropy.modeling) but when I tried to build a new template for these lines and then do the fit with eispac, it didn't work. I am interested in keeping my analysis in the eispac framework, so if you could help me with that I would appreciated it.
My main question is how I can create a new fit template for an EIS line.

To give you more context I have documented my efforts in this notebook.

@hpwarren
Copy link
Collaborator

hpwarren commented Apr 4, 2023 via email

@AlexandrosKoukras
Copy link
Author

Hello Harry,

The lines that I am currently interested in are:

  1. S VIII 198.550
  2. Mg VII 278.390

If you could provide these it would be great. But as my analysis progress I might encounter other lines for which a template is necessary too.

Looking at the existing templates I managed to make one myself for S VIII 198.55 that works with the eispac.fit_spectra (see the updated notebook from above). Of course this is an unpolished initial attempt but if you are interested in having this functionality in eispac I could try to polish it and added it as a function.
Additionally, and since you mentioned that you can create the fit_templates in IDL, I looked a bit at the IDL routines and is it the 'eis_fit_template' that you are using to create the fit_templates? If that is the case, do you plan on making a similar function for eispac?

Thank you for your help.

All the best,

Alexandros

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants