Repository navigation
Microwave SRH / NORH / SSRT PSF header paths with IDL-parity beam ports and compare
examples, on top of the 0.2.0 observational EUV/map-store stack.
Added
- Microwave SRH beam header support in
pychmp.psf: Viktor/srhimages σ axes
(BEAM_SA/BEAM_SB/BEAM_PHI,BEAM_P==1only) and gx_simulator
MakeSRHbeamcorrelated σ (BEAM_SX/BEAM_SY/BEAM_RHO). σ values are
converted to FWHM for the existing elliptical-kernel path; frequency scaling
remains enabled for both radio forms. - NORH clean-beam PSF path (
pychmp.norh_beam): in-tree port of SSW
norh_prog2pinf/norh_beamand gxBeamFitNoRH/FitBeam. Nobeyama FITS
headers withPMAT*+OBS-FREQresolve to a frequency-scalable Gaussian
ellipse without an IDL runtime. Validated against Viktor’s IFZ sample
(ifz140202_022005_corrected) vs IDL reference beam samples and fit params. - Example
examples/python/compare_norh_ifz_beam_python_vs_idl.py: side-by-side
Python vssswidlnorh_beamplot + numeric metrics for any NORH IFZ/FITS
(--ifz/PYCHMP_NORH_IFZ); P-angle from live IDLget_rb0por headerSOLP. - SSRT restoring-beam path (
pychmp.ssrt_beam): in-tree port of gx
GetSSRTangles/MakeSSRTbeam/BeamFitSSRT. Example
examples/python/compare_ssrt_beam_python_vs_idl.pycompares Python vs IDL
for any observation time, classic SSRT map.sav, or map FITS via
--fits(time fromDATE-OBS/TIME-OBS). - SSRT FITS header routing in
pychmp.psf: headers identified as SSRT
(TELESCOP/INSTRUME/ORIGINcontaining SSRT or Badary AOR) resolve the
restoring beam from observation time viaBeamFitSSRT, before the generic
BMAJ/BMINpath used by EOVSA. Image data are not required. Time cards
accept ISO/IDL forms and classic BadaryDATE-OBS=DD/MM/YYplus
TIME-OBS. The SSRT beam is monochromatic (~5.7 GHz) and does not
enable inverse-frequency scaling.sunpyis imported only inside
GetSSRTangles, so EOVSA/BMAJresolve does not load it.
Changed
- SRH header resolve soft-fails on unsupported
BEAM_P≠1, non-positive
BEAM_SA/BEAM_SB, or invalidBEAM_SX/BEAM_SY/BEAM_RHO, falling
through to later routes (correlated σ, NORH, SSRT, orBMAJ) instead of
aborting the resolver. - NORH/SSRT IDL parity tests that need local fixtures are marked
external_fixtureand skip cleanly whenPYCHMP_NORH_IFZ/
PYCHMP_SSRT_IDL_BEAM(or siblingSRH-NORH-4CHMP/) are absent.
Known limitations
- Super-Gaussian SRH
BEAM_P≠1is not converted to a kernel; the resolver
falls through to SX/SY orBMAJwhen present. - NORH beam uses header
SOLP(degrees) rather than recomputingget_rb0p;
on standard products this matches IDL to ≲0.01°.
Full notes: CHANGELOG.md