Sun-as-a-star Analysis of H$\alpha$ Spectra of a Solar Flare Observed by SMART/SDDI: Time Evolution of Red Asymmetry and Line Broadening

Stellar flares sometimes show red/blue asymmetries of H$\alpha$ line, which can indicate chromospheric dynamics and prominence activations. However, the origin of asymmetries is not completely understood. For a deeper understanding of stellar data, we performed a Sun-as-a-star analysis of H$\alpha$ line profiles of an M4.2-class solar flare showing dominant emissions from flare ribbons by using the data of the Solar Dynamics Doppler Imager onboard the Solar Magnetic Activity Research Telescope at Hida Observatory. The Sun-as-a-star H$\alpha$ spectra of the flare show red asymmetry of up to $\sim$95 km s$^{-1}$ and line broadening of up to $\sim$7.5 {\AA}. The Sun-as-a-star H$\alpha$ profiles are consistent with spectra from flare regions with weak intensity, but they take smaller redshift velocities and line widths by a factor of $\sim$2 than those with strong intensity. The redshift velocities, as well as line widths, peak out and decay more rapidly than the H$\alpha$ equivalent widths, which is consistent with chromospheric condensation model and spatially-resolved flare spectra. This suggests that as a result of superposition, the nature of chromospheric condensation is observable even from stellar flare spectra. The time evolution of redshift velocities is found to be similar to that of luminosities of near-ultraviolet rays (1600 {\AA}), while the time evolution of line broadening is similar to that of optical white lights. These H$\alpha$ spectral behaviors in Sun-as-a-star view could be helpful to distinguish whether the origin of H$\alpha$ red asymmetry of stellar flares is a flare ribbon or other phenomena.


INTRODUCTION
Solar and stellar flares are sudden brightenings on the surface. It is believed that flares occur through the magnetic reconnection in the coronae where the magnetic energy stored around spots is converted to kinetic, thermal, and non-thermal particle energies (see , Priest 1981;Shibata & Magara 2011, and reference therein). The released energy is transported to the chromosphere/photosphere via non-thermal particles, thermal conduction, or possibly Alfvén waves (Shibata & Magara 2011;Fletcher & Hudson 2008). The energy injection to lower atmosphere causes upward chromospheric evaporations into coronal magnetic loops (referred to as "flare loops") and downward chromospheric condensations in flare foot points (referred to as "flare ribbons"). Also, solar flares may be associated with upward filament/prominence eruptions and coronal mass ejections (CMEs).
In the case of the Sun, the nature of major flare-related phenomena, such as (i) flare ribbons, (ii) flare loops, and (iii) filament/prominence eruptions, have been investigated in very large amount of studies. Hα line has been historically used as a strong tool to diagnose these phenomena. Flare ribbons mostly show redshifted, broadened Hα emission profiles, which are thought to represent chromospheric condensation moving downward (e.g., Ichimoto & Kurokawa 1984;Fisher et al. 1985;Asai et al. 2012). Only several percent of flares show a blueshifted profile in chromospheric lines (Švestka et al. 1962;Canfield et al. 1990), which may relate with a "cool" evaporation flow (Tei et al. 2018). Flare loops are often seen as a combination of weak emissions in Hα line center and redshifted absorption when the solar flares occur on disk, but can be seen as significant emission when it occurs off the limb (e.g., Wiik et al. 1996;Jing et al. 2016). Eruptive phenomena can be mostly seen blue/redshifted absorption on the solar disk (filament eruption), but they appears in emission outside the disk (prominence eruption) (Parenti 2014).
In recent years, there has been a growing interest in stellar flare observations, especially in terms of the exoplanet habitability (e.g., Segura et al. 2010;Airapetian et al. 2016Airapetian et al. , 2020Yamashiki et al. 2019) and as a proxy of possible extreme flares ("superflares") on our Sun (e.g., Maehara et al. 2012;Schrijver et al. 2012;Shibayama et al. 2013;Shibata et al. 2013;Schrijver et al. 2012;Notsu et al. 2019;Okamoto et al. 2021). The intense radiations and CMEs associated with stellar flares can have a severe impact on the planetary environment (e.g., Temmer 2021), and there is an urgent need to clarify their characteristics. In the case of stellar flares, as in the case of solar flares, spectroscopic observations of Hα line have long been used for characterizing the cool plasma conditions, and many studies have reported the line broadening (e.g., Kowalski et al. 2017;Namekata et al. 2020) and the blue/redshifted Hα profiles during stellar flares (e.g., Houdebine et al. 1993;Vida et al. 2016;Honda et al. 2018;Vida et al. 2019;Koller et al. 2020;Maehara et al. 2021). The major difficulty in stellar flare observations is to distinguish between the major phenomena (i)∼(iii) from the observed Hα spectra since they are not spatially resolved, unlike solar flares. For example, on M, K-dwarf flares, red asymmetry 1 is interpreted not only as chromospheric condensation (Houdebine et al. 1993), but also as downward motion in flare loops or backward prominence eruptions (e.g., Koller et al. 2020). Blue asymmetry is interpreted as cool upward flow associated with evaporation or prominence eruptions (e.g., Houdebine et al. 1990;Gunn et al. 1994;Fuhrmeister & Schmitt 2004;Fuhrmeister et al. 2011;Vida et al. 2016;Honda et al. 2018;Vida et al. 2019;Muheki et al. 2020;Maehara et al. 2021).
Solar flares can provide basic knowledge to distinguish those phenomena in stellar observations, not only because the Sun can be observed in a spatially-resolved manner, but also because it can be regarded as the nearest star. Observations and analyses of solar flares in "Sun-as-a-star" view (i.e., spatial integration) has been thought to be of great use for a deeper understanding of the observed data of stellar flares. In fact, Sun-as-a-star observations of flares in X-rays (Reale et al. 1997;Shibata & Yokoyama 2002;Namekata et al. 2017a;Veronig et al. 2021), extreme-ultraviolet rays (Harra et al. 2016;Veronig et al. 2021), and white lights (Kretzschmar et al. 2010;Kretzschmar 2011;Namekata et al. 2017b) have made a significant contribution to the interpretation of stellar flare observations. However, Sunas-a-star analyses of Hα spectrum of solar flares have been seldom reported before. Although we know what Hα spectrum of each phenomenon looks like in the spatially-resolved view, we do not know which phenomenon among is contributing to the change in the total Sun-as-a-star spectral variation, to what extent, and how.
The Solar Dynamics Doppler Imager (SDDI) is an instrument installed on the Solar Magnetic Activity Research Telescope (SMART) at Hida Observatory (Ichimoto et al. 2017). It has a unique ability to take full disk solar images at every 0.25Å from the Hα line center −9.0Å to the Hα line center +9.0Å with 12-20 seconds time cadence, enabling us to make the Sun-as-a-star Hα spectrum. By using the data of SDDI, our previous study performed the Sun-as-a-star analysis of two C-class solar flares associated with a filament eruption and a surge (Namekata et al. 2022a). The Sun-as-a-star spectra shows a blueshifted absorption due to the eruptive filaments with gradually decaying velocity. We compared them with Hα spectrum of a superflare on a solar-type star, and surprisingly found that the stellar data is very similar to the Sun-as-a-star filament eruption events. This comparison has become a clear evidence that on the solar-type star, a filament eruption has happened, which is similar to solar phenomena.
Since a wide variety of Hα spectral changes of stellar flares have been reported in recent years, it is necessary to perform Sun-as-a-star analysis of Hα line on a wider variety of solar phenomena in order to connect the solar observations to stellar observations. Also, Hα stellar flares are often observed simultaneously with other wavelengths, such as white-light emission with TESS observations (e.g., Maehara et al. 2021;Namekata et al. 2022a,b), so simultaneous Sun-as-a-star observations with other wavelength (e.g., white-light, ultraviolet, and X-ray) can provide a key information for further solar-stellar connection. In this paper, we report a Sun-as-a-star analysis of Hα spectra of an M4.2-class solar flare occurred at 01:05 UT on 2017 September 5. In the event, the Hα radiation from flare ribbons occurred near the disk center and was dominant compared to those of the other component of flares, such as post-flare loop and filament eruption. Moreover, it showed strong redshift spectra and white-light emission; therefore it is a very good target to investigate the behavior of flare ribbons in relation with other wavelengths in the Sun-as-a-star view. Our aims of this study are the following three points: (1) to reformulate the Sun-as-a-star analysis method of solar flares using SMART/SDDI data in more detail than Namekata et al. (2022a), (2) to investigate the nature of red asymmetry and line broadenings of the Sun-as-a-star Hα spectrum in comparison with other wavelengths, and (3) to investigate the relation of the Hα spectra of a solar flare in the Sun-as-a-star view and those in the spatially-resolved view. We introduce the dataset and Sun-as-a-star analysis method in Section 2, show the results in Section 3, discuss the results in Section 4, and describe summary and future work in Section 5.  Figure 2 (referred to as Flare Region or "FR" in the text), located around the flare-productive active region 12673 (AR12673). The green square indicates a reference region ("ref." in the text). Note that this image is rotated 22.5 degrees counterclockwise to the North pole of the Sun and upside is the celestial North. We analyzed an M4.2-class solar flare which occurred in active region 12673 (AR 12673) at 01:05 UT on 2017 September 5. AR 12673 is known as the most flare-productive AR in solar cycle 24, producing many M-and X-class flares (Yan et al. 2018;Shen et al. 2018;Chertok et al. 2018;Soni et al. 2020;Yamasaki et al. 2021). Our target solar flare occurred when the AR 12673 was not far from the disk center of the Sun as in Figure 1. The detailed Hα map is shown in Figure 2 (see, Section 2.2) and its magnetic field map is shown in Figure 3 (see, Section 2.3). We selected this event for the following reasons: (i) It was observed with the SMART telescope at Hida Observatory under good weather condition. (ii) The event occurred near the disk center. (iii) The flare emission is dominant, and the associated eruption phenomena and coronal rain are weak. Because the event satisfied the above criteria, we consider the event as a favorable solar flare to understand the nature of the flare ribbon in the Sun-as-a-star view.

SMART/SDDI data analysis
Here we introduce the Sun-as-a-star analysis method of Hα flare spectrum taken by SMART/SDDI in more detail than Namekata et al. (2022a). SDDI has been conducting a monitoring observation of the Sun since 2016. It takes the full-disk Sun images at 73 wavelength points at every 0.25Å from λ cen −9.0Å to λ cen +9.0Å, where λ cen is the Hα line center wavelength. For this events, each set of images is observed with a time cadence of 15 seconds and a pixel size of 1.2 arcsec. Figure 1 is the full disk image of SDDI at 6553.8Å. Figure 2 shows the partial images of the M4.2-class solar flare on 2017 September 5 for λ cen -2Å, λ cen , and λ cen + 2Å. The rightmost panels show the red asymmetry "RA", which is defined as RA = I(λ cen + 1Å, t, x, y) − I(λ cen − 1Å, t, x, y) I(λ cen + 1Å, t, x, y) + I(λ cen − 1Å, t, x, y) , where I(λ, t, x, y) is the intensity at the position (x,y), a wavelength λ, and time t (cf., Asai et al. 2012). In principle, the "real" Sun-as-a-star spectrum will be obtained by simply performing a full-disk integration at each wavelength. However, in the case of the full-disk integration, we could not obtain a clear spectral variation of the M4.2-class solar flare. This could be not only due to intrinsic brightness variation of the solar surface, but also due to noise in spectral profiles induced by atmospheric fluctuations and weather variations since each wavelength are not exactly observed at the same time (15 sec lag between −9Å and +9Å). Therefore, in our study, we spatially integrate the intensity inside a partial region of the SDDI images that are large enough to cover the visible phenomena (the magenta region is Figure 1, hereafter referred to as Flare Region "FR"). This is not exactly a Sun-as-a-star analysis, but it can be virtually treated as a Sun-as-a-star by finally normalizing it with the solar luminosity (also referred to as "virtual" Sun-as-a-star in Namekata et al. 2022a).
In the following, we will introduce the method of this "virtual" Sun-as-a-star analysis: First, we performed a pixellevel position correction for every image using non-flaring spots in AR 12673 as a marker in order to correct position changes due to solar rotation and seeing fluctuation. Before going to the spatial integration, each image was normalized by the value of median of the reference region (the green region in Figure 1) for each wavelength in order to cancel the variation due to the weather condition and solar altitude, I (λ, t, x, y) = I(λ, t, x, y) median x,y∈ref. (I(λ, t, x, y)) , where "ref." means the reference region. Here, I (λ, t, x, y) is 2D-image normalized by the median value of "each wavelength" of the reference region. Then, the 2D-image spectrum normalized by the median value of "continuum level" of the reference region I n (λ, t, x, y) can be obtained as I n (λ, t, x, y) = I (λ, t, x, y)F n (λ) = I(λ, t, x, y) median x,y∈ref. (I(λ, t, x, y)) F n (λ), where F n (λ) is a template solar quiescent Hα spectrum which is convolved with SDDI instrumental profile and normalized by the continuum level (Seki et al. 2017). Here, we define a spectrum normalized by the median value of continuum level of the reference region as L(λ, t, region). We integrated the intensity inside the Flare Region "FR" (the magenta region in Figure 1) to obtain the spatially-averaged Hα spectrum L(λ, t, FR) as In the same manner, the "real" Sun-as-a-star spectra (normalized by the median of the reference region continuum) can be obtained as Again, it is difficult to measure a solar flare component with Equation 6 as mentioned above, so this full disk spectrum is used just to scale the Equation 5 to Sun-as-a-star. The correction factor to convert Equation 5 to the full disk continuum unit can be obtained as L(λ cont , t 0 , full disk), where λ cont = λ cen − 9Å is a wavelength of the continuum level, λ cen is the Hα center wavelength, and t 0 is a time in pre-flare phase. Here, a pre-flare-subtracted flaring spectrum at the time t (normalized by the median of the reference region) can be expressed as . Therefore, a pre-flare-subtracted flaring spectrum normalized by the full disk continuum level, ∆S ( λ, t), can be expressed as If we add a full disk spectrum (normalized by full disk continuum) to Equation 7, we can obtain the Sun-as-a-star spectrum of the Hα. However, the variations of flare is too small compared to the original solar full disk spectrum (an order of ∼10 −4 ). Therefore, we show Equation 7 as a flaring spectrum in this study, and hereafter, we sometimes call ∆S(λ, t) a Sun-as-a-star (flare) spectrum by omitting "pre-flare-subtracted" for simplicity. Note that the analysis method described above is the same as those in Namekata et al. (2022a) 2 , but the expression of equations has been a bit improved in this paper. We calculated the equivalent width EW = ∆S(λ, t)dλ in the unit ofÅ. We also calculated the Hα flare radiated energy by simply multiplying the EW by solar contiuum luminosity around Hα (cf., Namekata et al. 2022a).

SDO/HMI and AIA data analysis
In this section, we briefly explain the analysis of the data obtained by the Helioseismic and Magnetic Imager (HMI) and the Atmospheric Imaging Assembly (AIA) onboard the Solar Dynamics Observatory (SDO). The purpose of analyzing these data is to overview the magnetic field configuration in which this event occurred and to investigate how this solar flare behaved in white light and UV in the Sun-as-a-star view. Figure 3 shows the magnetic field configuration around the time of the flare (5 min after the onset) and the intensity of AIA 1600Å. Four flare ribbons are observed in AIA 1600Å (A, B, C, and D in the figure). According to the NLFF calculation of Yamasaki et al. (2021), the flare ribbons of A and B, B and C, and C and D are connected by magnetic field lines, and most of the flare radiation is emitted from flare ribbons B and C in AIA 1600Å. Figure 2 shows that also in Hα, flare ribbons B and C are dominant, while flare ribbon A is visible.  Next, we show the Sun-as-a-star analysis of the associated white-light flare with the use of the SDO/HMI continuum (Namekata et al. 2017b). The colormap in Figure 3(d) shows the enhanced white-light flare emission (white region) with the AIA 1600Å contour (red). We first made a time-integrated AIA 1600Å image and made a mask image where the intensity is over 10 % of the peak intensity. By integrating the white-light enhancement inside the mask, we have obtained the total counts of the white-light flare DN flare . After that, the white light enhancement as Sun-as-a-star (DN flare /DN ) was obtained by dividing it by the full disk count of the SDO/HMI continuum DN (see Figure 6). The flare flux and energy were calculated in the same way as Namekata et al. (2017b) by assuming the 10,000 K blackbody radiation (Kretzschmar et al. 2010;Kretzschmar 2011).
We also made a Sun-as-a-star light curve of AIA 1600Å. The radiation source of AIA 1600Å band is the continuum and emission lines such as C IV, which originates from the transition region and upper photosphere (Simões et al. 2019). Although the formation heigh of AIA 1600Å is complicated with the contribution from multiple emission lines during flares (mostly from transition region via C IV lines; Simões et al. 2019), the rising phase of AIA 1600Å and GOES X-ray light curves shows a relation of Neupert effect (Nishizuka et al. 2009;Qiu et al. 2013;Dai et al. 2018). Hence, the AIA 1600Å light curve is plotted as a reference for impulsive energy release in the lower atmosphere (i.e. a proxy of non-thermal heating) in this paper (see Section 3.1).

Measurements of line shift and width
We have employed two fitting methods to measure the line shift and line width of Hα flaring emission using the pre-flare-subtracted spectra, ∆S(λ, t), defined in Section 2.2: (1) a two component fitting method (refer to as "2 Component" in each figure) and (2) a single wing component fitting (refer to as "Wing Component" in each figure). The method (1) is often used in stellar flare observations (Vida et al. 2019;Maehara et al. 2021;Wu et al. 2022), and the method (2) is similar to that used in solar flare observations (cf., Ichimoto & Kurokawa 1984). The method (1) is the following procedure (see Figure 4 as example): First, the data on the short wavelength side of the Hα center is fitted with the Voigt function to obtain the Hα center component (orange line in Figure 4). At this time, the line width of the Voigt function is determined. Then, the remaining redside excess component is fitted with a Gaussian function to obtain its redshift velocity and intensity (green line in Figure 4). The line width is determined as widths of one tenths of peak intensity for the central Voigt function. The method (2) is the following procedure: Only the line wing component is fitted with a single-velocity Voigt function, and its line width (one tenths of peak intensity level) and shifted velocity are obtained. The wing criterion used for the fit is <0.2 of continuum level for the Sun-as-a-star data and <0.25 of continuum level for the spatially resolved data. The line width is simply determined as widths of one tenths of peak intensity of spectrum. Figure 4 shows the test for the fitting methods for a modeled pre-flare-subtracted spectrum (a black solid line), which is calculated with the Becker's cloud model (Beckers 1964)   and source function S/I 0 of 1.2 (original spectrum is indicated with blue line). We applied the above fitting methods to the pre-flare-subtracted spectra with the aim of an application to stellar flares. In the case of the Sun where the background Hα spectrum is usually absorption, the pre-flare-subtracted spectrum is usually shaped as a sum of the shape of flare spectrum (blue line) and that of the inverse of background spectrum (black dashed line). This results in an apparent enhancement of the central component in the pre-flare-subtracted spectrum (a black solid line), but would not significantly affect the estimation of shifted and/or broadened component. For this modeled spectrum in Figure 4, the estimated velocity was 83.2 km s −1 and 62.8 km s −1 with method (1) and (2), respectively. After the tests for several cases, we noticed that both methods have their own advantages and disadvantages as follows: The method (1) is a good fitting method when the flaring atmosphere has both stationary and redshift components (e.g., seen in numerical simulations; Kowalski et al. 2015). However, it should be noted that the subtraction of the stationary component can improperly remove the blue wing of the red-shift component. Therefore, the method can overestimate the velocity due to the overfitting of the central component when flaring atmosphere is a single-velocity atmosphere and/or when the velocity is low. The method (2) gives correct solution if both wings of Ha emission are produced by the redshift component, but underestimates the velocity in the case of multiple atmospheric components. We have tested how the methods (1) and (2) can estimate the input velocity with a simple optically-thick Hα flaring spectrum for several cases, but it is difficult to say which method is better to obtain the real velocity as in Figure 4. Hence, we have applied both methods in this paper (see, Section 3.2, 3.3, and 3.4).

RESULT
3.1. Sun-as-a-star Hα spectra and multi-wavelength light curves Figure 5 shows the time evolution of the Sun-as-a-star Hα spectrum ∆S(λ, t) for the flare of interest obtained by the SDDI. We found that the spectra show the enhanced red wing enhancement even in the Sun-as-a-star view, in most of the periods. This is the same as the previous studies performing spatially-resolved analyses (e.g., Ichimoto & Kurokawa 1984). In addition, the Sun-as-a-star spectrum shows the significant line broadenings during the flare. Qualitatively, both the redshift and broadening are prominent especially in early 0.5∼4.5 minute (i.e., the impulsive phase), but as the flare decays, they become gradually weaker (see Section 3.2 for quantitative results).
Left panel of Figure 6 shows Sun-as-a-star light curves of the solar flare in Hα, white light, GOES X-ray, and AIA 1600Å. The flaring amplitude in Sun-as-a-star Hα EW is ∼ 4 × 10 −4Å . This is approximately the same order of the impulsive C-class flare event, i.e. ∼ 3 × 10 −4Å , in our previous study (see, Supplementary Figure 9 in Namekata et al. 2022a). The duration of the Hα flare was approximately 10 minutes (FWHM duration is 4.7 minutes), and that of white-light flare is approximately 7 minutes (FWHM duration is 3.0 minutes). The AIA 1600Å flare peak came first, followed by the Hα and white light about a minute later, and then the GOES X-rays about a minute later. Rising    phase of the AIA 1600Å and GOES X-ray light curves have a relation suggested by the Neupert effect (see Figure 14 in Appendix A), so the AIA 1600Å light curve can be regarded as a proxy of time profile of energy release of the flare. The right panel of Figure 6 shows the light curve of flare luminosity in Hα, white light, and GOES X-ray (1-8Å). The flare luminosity of Hα (8.4×10 25 erg s −1 ) and GOES X-ray (6.1×10 25 erg s −1 ) have almost the same order (∼10 26 erg s −1 ). The flare luminosity of white light (7.2×10 27 erg s −1 ) is an about two orders of magnitude larger than those of Hα and GOES X-ray (1-8Å). The integrated flare radiated energy are estimated as 1.  Figure 7 shows the example of a result of the spectral fitting for a Sun-as-a-star flare spectrum with the two fitting methods introduced in Section 2.4 and Figure 4. In the case of Figure 7, the 2 component fitting methods estimates the redshift velocity as 82.7 km s −1 , and the single wing component fitting methods estimates as 47 km s −1 . Figure  8 shows the time evolution of each parameter for Sun-as-a-star Hα spectrum in comparison with Hα, white-light, and AIA 1600Å light curve. The line width is ranging from 2.5Å to 7.5Å, and the redshift velocity is from 0 km s −1 to 95 km s −1 during the solar flare (see, Section 2.4). The two fitting methods result in different absolute values, but the qualitative properties are roughly similar. In particular, the Sun-as-a-star spectra shows the following properties:

Redshift velocity and line width in Sun-as-a-star spectra
• The redshift velocity peaks out and decays more rapidly than the Hα EW, and the time evolution is similar to near-ultraviolet luminosity (1600Å), rather than Hα and white light (Figure 8(b,d)).
• The Hα line width also peaks out and decays more rapidly than the Hα EW, and the time evolution is nearly consistent to white-light luminosity, rather than Hα and near ultraviolet (1600Å) (Figure 8(a,c)).
• The time evolution of EW of redshifted component is similar to that of EW of the central component ( Figure  8(e)), and the ratio of redshifted component to central component is 14∼54 % during the flare.
3.3. Redshift velocity and line width in spatially-resolved spectra Figure 9 shows an example of the pre-flare subtraction of the spatially-resolved Hα spectrum at a given flare kernel and a given time. As explained in Section 2.4, the pre-flare subtraction can apparently enhance the central component of the pre-flare-subtracted Hα spectrum of flares (a black solid line) because the background (a black dashed line) is absorption, but would not significantly affect the evaluation of shifted and/or broadened component (see Section 2.4). We also analyzed the pre-flare-subtracted spectrum for spectral fitting in this spatially-resolved case. Figure  10 shows the spatial distribution of the line width (a,c) and redshift velocity (b,d) of Hα lines in the flare ribbon obtained by applying the two methods for each pixel. We fitted the Hα spectrum for each pixel and each time with the different two methods, and derived the temporal evolution of the spatial distribution. Figure 11 shows the line width (a,c) and redshift velocity (b,d) of Hα lines as a function of Hα line center intensity. The estimated line width is ranging from ∼2.5Å to ∼14Å, and the redshift velocity is from 0 km s −1 to ∼230 km s −1 . The cross and triangle symbols indicate the time evolution of the pixels indicated in Figure 10 with the same symbols ((x,y) = (31,33) and (30,42), respectively). Also, the color of each dot corresponds to the phase of the flare in each pixel (see the color bar). Histograms for earlier and later phases are shown on the right and on the top with red and blue lines.
We found that the line width has a correlation with the intensity of Hα (correlation coefficient of 0.68 and 0.45 for the two methods), but the redshift velocities have almost no correlation with the intensity of Hα (correlation coefficient of 0.17 and −0.18 for the two methods). Asai et al. (2012) also showed that red asymmetry (RA; Equation 1) is independent of intensity, although they did not derive the velocity itself. On the other hand, if we look at each pixel individually, we can see that there is an evolutionary track through the flare phases. For example, if we look at the triangle and cross symbols, the evolutionary track is that line width and redshift velocity increase first, then intensity increases later, and finally they gradually decay. This is apparent in Figure 11(b,c,d), but not apparent in Figure 11(a). Especially for redshift velocity, Asai et al. (2012) and Ichimoto & Kurokawa (1984) reported the same property, i.e., redshift velocity peaks out and decays more rapidly than intensity.

Comparison between Sun-as-a-star spectrum and spatially-resolved spectra
Here we compare line width and redshift calculated from Sun-as-a-star (Section 3.2) spectra and spatially-resolved spectra (Section 3.3). Qualitatively, the variations of both spectra show very similar evolutionary track: line width and redshift velocity peak out and decay more rapidly than EW. On the other hand, the spatially resolved case has significantly wide range of values, while the Sun-as-a-star case has relatively smaller values than the upper limit of the spatially-resolved case. This would be because the Sun-as-a-star spectrum is seen as a superposition as discussed in Section 4.1 in more detail.
Then, which regions of the flare represent the Sun-as-a-star spectrum? The left panel of Figure 12 shows the comparison between Sun-as-a-star spectrum (black line) and integrated spectra for a different Hα intensity levels at a given time. This shows that the Sun-as-a-star spectrum is quite far from the spectrum from the region of high intensity level (>45 % of the maximum intensity, N pixel =35 pixels), which shows strong redshift and line broadening. On the other hand, the Sun-as-a-star spectrum seems to correspond fairly well with the spectrum from the region where the intensity level is weak, especially 15-30 % intensity level (N pixel =65 pixels). The right panel of Figure 12 is the same as the left panel, but it is normalized by the peak of Sun-as-a-star spectrum. This shows that where the intensity level is weak, the area of the region (number of pixels) is large, so the contribution to the Sun-as-a-star spectrum is high. Therefore, as a result of the superposition, the Sun-as-a-star spectrum becomes close to the shape of the spectrum from the region with the weak intensity level (in this case, 15-30 %). Figure 13 shows the time evolution of line width and redshift velocity for each intensity levels. The comparison shows that the Sun-as-a-star spectrum well corresponds to the spectrum from 15-30 % (or, 5-15 %) intensity level. It is also found that the line width of the Sun-as-a-star spectrum is about a factor of 2 (2-5Å) smaller than the strong-intensity region of the flare ribbon (e.g. > 60 %). Moreover, in the case of the two component fitting, the redshift velocity of the Sun-as-a-star spectrum is about 20-40 km s −1 slower than that of the core region of the flare ribbon (e.g. > 60 %). Note that the redshift velocities obtained by single wing component fitting correspond well to the Sun-as-a-star spectra in all regions except the brightest core at the flare onset.  Figure 12. Spatially-integrated spectra inside a different Hα intensity (EW) levels (each colored spectrum) at 01:06:36 UT (t=1.0 minute) on 2017 September 5 in comparison with Sun-as-a-star spectra (a black line). The integrated spectrum inside the region of 5-15 %, 15-30 %, 30-45 %, 45-60 %, and >60 % levels of the maximum-EW pixel at the time is plotted (see the contour in Figure 11). (left) A comparison of spectra normalized by each spectral peak. (right) A comparison of the spatially-integrated spectra normalized by the peak of the Sun-as-a-star spectrum.

Formation of Sun-as-a-star Hα flare spectra
Section 3.4 shows that the region with weak intensity level (here we call "halo") is more significantly contributing to Sun-as-a-star spectrum than the region with strong intensity level (here we call "core"). It is true that the core of the flare ribbon is bright, but its contribution to the Sun-as-a-star radiation is not necessarily large. This indicates that the red asymmetry and line width that can be observed in stars do not represent the bright "core" component but "halo" component, and underestimates the "core" value by a factor of ∼2. Our first message to stellar flare observation is that we need to keep in mind the above point when we interpret stellar flare spectra and compare with numerical model (e.g., Kowalski et al. 2017;Namekata et al. 2020;Wu et al. 2022). Note that only for the redshift velocity calculated with the single-wing-component fitting gives good correspondence between Sun-as-a-star values and spatially-resolved values (see Figure 13(d)). This may indicate that the single-wing-component fitting can better estimates the evolutions of flare ribbons in stellar flare observations, although it still may miss the highest velocity component at the onset of flares.
4.2. Time evolution of the redshift velocity of Sun-as-a-star Hα flare spectra In Section 3.2, we show the evolutionary track of the redshift velocity of the Sun-as-a-star Hα spectra, i.e., redshift velocity peaks out and decays more rapidly than Hα intensity or EW. Section 3.3 and 3.4 shows the same feature seen even in the spatially-resolved spectrum, which was also previously reported not only in Hα (e.g., Ichimoto & Kurokawa 1984) but also in other chromospheric and transition-region lines (e.g., Zhou et al. 2020). These mean that Sun-as-a-star Hα spectra of solar flares well reflect the feature of the spatially-resolved Hα spectrum, even though it is formed as a result of superposition of different positions as discussed in Section 4.1. According to previous studies, the fact that the increase in redshift velocity precedes the increase in intensity is thought to represent the properties of chromospheric condensation process, where thickness of the chromospheric condensation increase with the rapid decrease of its velocity (Livshits et al. 1981;Somov et al. 1982;Ichimoto & Kurokawa 1984;Kowalski et al. 2022).
Our study suggests that even the Sun-as-a-star spectra retain the characteristics of chromospheric condensation. This predicts that we can investigate occurrences of chromospheric condensation even in stellar flares from the time-resolved Hα spectroscopic observations.
The redshift velocity shows similar changes to Sun-as-a-star light curve of the near-ultraviolet rays at 1600Å, rather than Sun-as-a-star light curve of white-light flare. The AIA 1600Å has a sensitivity to the transition region radiation (C IV lines) and its time evolution shows very impulsive peak during the impulsive phase, which is represented by the time derivative of the GOES X-ray (Nishizuka et al. 2009;Qiu et al. 2013;Dai et al. 2018). Our study suggests that the time evolution of redshift velocity can be a good proxy for heating in the upper chromosphere and transition region (or possibly non-thermal heating) in the Sun-as-a-star view. Although hard X-rays, an indicator of non-thermal heating, is not observable in stellar flares, the near-ultraviolet wavelength can be observed in stellar flares by the Ultraviolet Optical Telescope onboard the Swift spacecraft (Osten et al. 2010) and the Optical/UV Monitor Telescope onboard XMM-Newton (cf., Mitra-Kraev et al. 2005), so we propose that these features could be tested in stellar flares in the future.
Recently, there are reports on red asymmetry on stellar flares (Houdebine et al. 1993;Vida et al. 2019;Koller et al. 2020;Wu et al. 2022), but its origin has not been well understood partly because of the lack of time-resolved spectroscopic observations or multi-wavelength observations are limited. Our study can provide a basis for interpreting the observed red asymmetry on stellar flares. If the time variation of redshift of stellar flares is the same as that of this result, we can conclude that it comes from flare ribbon radiation, while if it is not, we can suggest the possibility of other sources of redshift radiation, such as flare loop or prominence activation. For example, Wu et al. (2022) reported that redshifted velocity of Hα line asymmetry during a superflare on an M-type star showed more rapid decay than Hα EW. This observation indicates that the observed red asymmetry of the superflare may originate from chromospheric condensation region. Here, we need to be a bit careful when applying our result on the Sun to other stars whose background Hα line shows emission (active M-type stars) since we performed an analysis of pre-flare subtraction of spectra in this study. If the background is emission, pre-flare-subtraction is thought to subtract the Hα line center component of the flare more than necessary. In this case, although the discussion of the qualitative nature of line asymmetry/broadening (velocity and line width) is applicable to stars (see Section 2.4), the ratio of line center intensity to red asymmetry intensity is expected to be different from those obtained in this solar study.

Time evolution of line width of Sun-as-a-star Hα flare spectra
Sun-as-a-star Hα spectra shows that the line width decays more rapidly than EW (Section 3.2), and the spatiallyresolved spectra show the same feature (Section 3.3 and 3.4). This also supports the suggestion that Sun-as-a-star Hα spectra of solar flares well inform the feature of the spatially-resolved Hα spectrum even after the superposition. Similar time evolution has been reported on M-dwarf flares (e.g., Namekata et al. 2020;Wu et al. 2022), and this study suggests that the chromospheres on the M-dwarf flares could be heating in the same way as the M4.2-class solar flare analyzed here.
It is also found that the line width peaks out and decays in the similar way to the Sun-as-a-star light curve of white light flare (or near-ultraviolet flare), rather than Hα EW. In the case of solar flares, line broadening is thought to be caused mainly by the statistical Stark effect (Kowalski et al. 2017(Kowalski et al. , 2022, and the line width is sensitive to electron density n e in chromospheric condensation (∝ n 2/3 e ). Also, if we assume that the white-light emission is radiated from the same chromospheric condensation via hydrogen free-bound or free-free process, its radiation intensity reflects the chromospheric density (∝ n 2 e ). Therefore, the nearly similar time evolution of white-light flare and line width may be understood as both are related to the density of chromospheric condensation. Note, however, that the origin of whitelight emission is still controversial even in solar physics, further studies are necessary for the physical interpretation.

SUMMARY AND FUTURE WORK
In this paper, we present the Sun-as-a-star analysis of Hα line of the M4.2-class solar flare showing dominant emission from flare ribbons (i.e. chromospheric radiation) by using the data of SMART/SDDI, with the aim of future applications to the interpretations of stellar flares. This Sun-as-a-star analysis can provide a standard example for interpreting observed Hα spectra of stellar flares and distinguishing flare ribbon radiations and other phenomena. The Sun-as-a-star light curves of white-light flares (from heated chromosphere/photosphere) and near-ultraviolet flares (1600Å, mostly from heated transition region), which can be also observable in stellar flares, were also obtained as a proxy of impulsive radiations. The results and implications to stellar flare studies are summarized as follows: (i) Sun-as-a-star Hα spectra of the solar flare show a red asymmetry and line broadening. This is well known when flares are spatially resolved, but has not been reported in Sun-as-a-star view. The redshift velocity ranges up to ∼95 km s −1 , and the line broadening ranges from ∼2.5Å to ∼7.5Å (Section 3.2).
(ii) Sun-as-a-star Hα spectra of the solar flare is consistent with the spectra from weak-intensity flare ribbons like a "halo", rather than the spectra from strong-intensity flare ribbons "core". As a results, the line width and redshift velocity in Sun-as-a-star spectra are smaller by a few factors (typically, ∼2) than those of the core component, depending on the fitting methods. We need to care this result when we interpret stellar flare observations (Section 3.4 and 4.1).
(iii) The EW of Hα emission of the flare is an order of 10 −4Å in Sun-as-a-star spectrum. This is similar to those of C-class flares reported by Namekata et al. (2022a). The total radiated energies of Hα and white-light flare is 2.8×10 28 erg and 1.6×10 30 erg, respectively. The ratio of Hα to white-light energy ∼1.8 % are similar to those of stellar superflares on solar-type stars (Namekata et al. 2022a,b). See Section 3.1.
(iv) The redshift velocity peaks out and decays more rapidly than the Hα EW. The preceding of redshift velocity to intensity can be seen in spatially-resolved data and has been interpreted as a nature of chromospheric condensation (Livshits et al. 1981;Somov et al. 1982;Ichimoto & Kurokawa 1984;Kowalski et al. 2022). This means that, even after the superposition, the nature of chromospheric condensation is visible in the Sun-as-a-star spectrum, and possibly in stellar flare spectrum. The features are actually observed in M-dwarf flares (Namizaki et al. 2022, submitted). Also, the time variation (rise and decay) of line width is more rapid than the Hα EW, which is often observed in M-dwarf flares (e.g., Namekata et al. 2020). See Section 4.2 and 4.3.
(v) The time evolution of the redshift velocity has a good agreement with Sun-as-a-star near-ultraviolet luminosity at 1600Å rather than optical white-light luminosity. Also, the time evolution of the line width is similar to optical white lights, rather than Hα EW. As for the latter, similar features have been reported in white-light and Hα flares on M-dwarfs (e.g., Namekata et al. 2020). The near-ultraviolet behaviors could be tested in future stellar observations, e.g., by using Swift/UVOT (cf., Osten et al. 2010) and XMM-Newton (cf., Mitra-Kraev et al. 2005). See Section 4.2 and 4.3.
These results of Sun-as-a-star analysis are useful in interpreting red asymmetries, as well as line broadenings, of the observed stellar flare spectra. The Sun-as-a-star values given in (i) and (iii) can be compared quantitatively with stellar flares (e.g., Kowalski et al. 2017;Namekata et al. 2020;Wu et al. 2022), although it should be noted that the point (ii) is still subject for interpreting stellar flares. Also, if the time variation of redshift of observed stellar flares is the same as that of the result (iv)-(v), the line asymmetry is likely to come from flare ribbon radiation, while if it is not, it suggests the possibility of other sources of redshift radiation, such as flare loops or prominence activations (cf., Wu et al. 2022). Our result is directly applicable to stars whose background Hα lines shows absorption (e.g., G-type stars). Note that since pre-flare-subtracted spectrum is used in this study, the following caution should be taken for stars whose background Hα lines is emission (e.g., active M-type stars): the discussion of the qualitative nature of line asymmetry/broadening (velocity and line width) is applicable, but the ratio of line center intensity to red asymmetry intensity can be different (Section 4.2). Sun-as-a-star analysis of Hα line profiles of solar flares has been firstly conducted in Namekata et al. (2022a) for two events: a C-class solar flare associated with a dominated filament eruption and a C-class flare associated with a solar surge (i.e., a jet-like filament eruption). In this paper, we have added an M-class solar flare with dominated flare-ribbons radiation as a new example. The three examples show different behaviors in Hα line, which supports a possibility that different phenomena on spatially-unresolved stars can be distinguished through Hα line observations. In the future work, the Sun-as-a-star analysis will be applied to a wider variety of phenomena including flare loops and prominence eruptions outside the limb as other patterns of solar phenomena (Otsu et al. in prep.).

A. NEAR-ULTRAVIOLET LIGHT CURVE AND GOES TIME DERIVATIVE
Here we show a comparison between 1600Å light curve and GOES time derivative in Figure 14. The peak timing of GOES time derivative is almost consistent with that of 1600Å light curve with an error of 10 second, although the decay timescale is different. This result is consistent with previous studies (Nishizuka et al. 2009;Qiu et al. 2013;Dai et al. 2018).