ISPy.vis package
Submodules
ISPy.vis.readout_fn module
- ISPy.vis.readout_fn.readout_1c(obsf, nx, ny, invf)
Read 1-component of photospheric and chromospheric data
- Parameters:
obsf (str) – filename of observed Stokes maps
nx (int) – xsize
ny (int) – ysize
invf (str) – filename of inverted maps
- Returns:
inv_ch (ndarray) – inverted parameters in 3D array [nx, ny, parameters]
inv_ph (ndarray) – photospheric inverted parameters in 4D array [nx, ny, logtau, parameters]
synpro (ndarray) – synthetic profiles in 4D array [nx, ny, 4stks, wav]
logtau (array_like) – logtau array
phff (float) – photospheric filling factor
chi2 (ndarray) – chisquare map [nx, ny]
Examples
>>> inv_ch, inv_ph, synpro, logtau, phff,chi2 = readout_1c_ch(obsf,nx,ny, invf)
- Author:
Rahul Yadav (ISP/SU 2019)
- ISPy.vis.readout_fn.readout_1c_ch(obsf, nx, ny, invf)
Read chromospheric part of 1-component inferred atmosphere
- Parameters:
obsf (str) – filename of observed Stokes maps
nx (int) – xsize
ny (int) – ysize
invf (str) – filename of inverted maps
- Returns:
inv_ch (ndarray) – inverted parameters in 3D array [nx, ny, parameters]
synpro (ndarray) – synthetic profiles in 4D array [nx, ny, 4stks, wav]
chi2 (ndarray) – chisquare map [nx, ny]
Examples
>>> inv_ch, synpro,chi2 = readout_1c_ch(obsf,nx,ny, invf)
- Author:
Rahul Yadav (ISP/SU 2019)
- ISPy.vis.readout_fn.readout_2c(obsf, nx, ny, invf)
Read 2-component of chromospheric and 1-component of photospheric data
- Parameters:
obsf (str) – filename of observed Stokes maps
nx (int) – xsize
ny (int) – ysize
invf (str) – filename of inverted maps
- Returns:
inv_ch (ndarray) – inverted parameters in 4D array [nx, ny, parameters, 2]
inv_ph (ndarray) – photospheric inverted parameters in 4D array [nx, ny, logtau, parameters]
synpro (ndarray) – synthetic profiles in 4D array [nx, ny, 4stks, wav]
logtau (array_like) – logtau array
phff (float) – photospheric filling factor
chi2 (ndarray) – chisquare map [nx, ny]
Examples
>>> inv_ch, inv_ph,synpro, logtau, phff,chi2 = readout_1c_ch(obsf,nx,ny, invf)
- Author:
Rahul Yadav (ISP/SU 2019)
ISPy.vis.show_hazel module
- ISPy.vis.show_hazel.onclick(event)
- ISPy.vis.show_hazel.xyplot(ix, iy)