Skip to content

Roadmap of SunXSpex

DanRyanIrish edited this page Apr 24, 2019 · 2 revisions

Functionalities

Needs: Database of Intensities as a function of temperature at all line energies. (Stored at SSW/packages/xray/SSWDB/CHIANTI/chianti_lines_1_10_v71.sav)

Must: Match these to data bins for a given temperature. Figure emissivity of lines given temp and abundance and sum into each energy bin.

Sub-Functionalities

  • Validate input energy binning
  • Load Dbase for easy retrieval if not loaded already
  • Deal with abundances
    • Load global choice of abund. e.g. coronal, photospheric
    • Handle/include variations to those, e.g. due to FIP.
  • Identify lines of interest based on input energy range.
  • Compute emissivity for every temp., for every line.
  • Associate every line with a pair of data bins.
  • Formulate weighting of those two bins that maintains line centroid's energy.
  • Now every output energy bin has a set of lines associated with it. For each bin, add up emissivity to produce final spectrum.

Note, this can be rewritten to enable output of the different spectral components.

Tree Map

  • f_vth.pro
    • chianti_kev.pro
    • chianti_kev_lines.pro
      • mk_contiguous (perhaps can be done differently in Python, e.g. by requiring N+1 length input of bin edges like output of numpy histogram.)
      • chianti_kev_common_load (perhaps can be done differently in Python)
      • xr_rd_abundance
      • chianti_kev_getp (Could be part of chianti_kev_lines.pro)
    • brem_49.pro ?
      • acgaunt
  • f_thick2.pro
    • Currently waiting for Richard to update IDL version before planning Python version.
Clone this wiki locally