Supergiants are luminous post-main-sequence massive stars whose effective temperatures () are key inputs for stellar evolution and feedback studies. We present a photometry-based procedure to derive for a sample of galactic supergiants of spectral types B and A by fitting the spectral energy distributions (SEDs) in the UV-to-mid-IR range to ATLAS9 model spectra converted into synthetic photometry using the corresponding passband transmission profiles while simultaneously solving for the line-of-sight extinction. The SEDs were constructed from published data taken in different photometric systems (Johnson or Kron–Cousins , Strömgren , magnitudes from various sources, and AllWISE) and supplemented with UV TD-1 fluxes for brighter stars. The interstellar extinction law is based on Cardelli, Clayton & Mathis approximation assuming a total-to-selective ratio . The best-fitting parameters are obtained by minimizing a covariance-weighted statistic in logarithmic flux space over a grid of values and a discrete model grid. We test the method on 20 targets and find generally good agreement with published literature temperature estimates. The main limitations are non-simultaneous photometry for possibly variable objects and the residual coupling between temperature and reddening in broadband SED fitting. This study is intended as a methodological demonstration on a pilot sample rather than a definitive parameter catalog.
We present MERLIS , a Python-based pipeline for the automated measurement of stellar spectral-line parameters in medium-resolution spectra. The framework provides a unified approach to determining equivalent width, line depth, and full width at half-maximum for both narrow metallic lines and broad Balmer features, enabling homogeneous analysis across line profiles of substantially different morphology. The method combines local continuum renormalization, multimodel analytic profile fitting, adaptive determination of line-integration boundaries, and Monte Carlo uncertainty estimation. Broad hydrogen lines are treated using a dedicated fitting strategy designed to account for their extended wings and core-wing structure, while narrower features are analyzed through automated model selection among several candidate profile families. For multiepoch datasets, the pipeline also incorporates radial velocity consistency checks and weighted spectrum combination to reduce profile smearing and improve the robustness of the final measurements. We describe the methodology and validate its performance using both synthetic and observed stellar spectra. The workflow is further applied to 137 individual spectra of Galactic BA-type supergiants, producing a homogeneous catalog of line-profile measurements for subsequent temperature-sensitive spectroscopic analyses. The pipeline delivers reproducible line measurements, homogeneous uncertainty estimates, and fit-quality diagnostics suitable for precision studies of spectral-line variability in stellar spectroscopy.