Formation and Evolution of Galaxies: Starlight Synthesis Algorithm

This study will see the resurgence of interest in precise velocity dispersion measurements, both for the study of galactic and active nuclei kinematics. As several works suggest, an excellent tactic to measure σ is to use the absorption lines of the calcium triplet, as it is a spectral region relatively free from complications. The discovery of an empirical relationship between the mass of the central black hole (M •) and σ was the leading guide of my detailed study of the calcium triplet region. This search for more accurate methods to calculate the dispersion of velocities, in addition to the careful study of uncertainties. After investing so much time in the development and improvement of the method and its application to so many galaxies, it is time to reap the rewards of this effort, using my results to address a series of questions concerning the physics of galaxies.


Introduction
A significant fraction of the galaxies in the universe is distributed in groups and clusters, making these large structures ideal environments for studying the evolution of their member galaxies. The transition between groups and clusters is quite subtle, given by the number of galaxies present in each system. Although clusters are richer, clusters are more abundant in the universe. While only 10% of the matter in the universe is found in clusters, around 50% is found in clusters [1]. Groups have about 5 -100 bright galaxies within a radius of 1 h −1 Mpc and scattering speeds around 500 km/s. Already clusters can have hundreds of galaxies distributed in a radius of 1 to 2 h −1 Mpc and with dispersion speeds as high 1 1 d where λ is the wavelength, I(λ) is the observed galactic spectrum, F(λ 0 ) is the stellar spectrum, c is the speed of light, and f(v) is the func distribution of speeds [6]. Assuming a Gaussian distribution, with a dispersion of stellar velocities σ, the Doppler broadening can be quantified by ∆λ ~ λ 0 σ/c, where λ 0 is the central wavelength of the line. In this way, if we can measure the Doppler broadening of the spectral lines of a galaxy, we can infer their dispersion of stellar velocities. In Figure 1, we compare the spectrum of a star and that of a galaxy in the calcium triplet region; note how the lines of the galaxy are much wider than those of the star [7].
In a dynamically relaxed system, the virial theorem guarantees that the potential energy V of the system is directly linked to the kinetic energy K, so that V = −2K. Therefore, stellar velocity dispersion, as it is a measure of kinetic energy, is directly linked to the mass of the system, which is a measure of potential energy.
In the central regions of a galaxy (r ~ 102 − 3 pc), this mass essentially represents the mass in stars M. If we have a measure of the luminosity and size of the system, we can calculate the mass/luminosity ratio, M/L. The M/L ratio, in turn, can be used to diagnose stellar populations. Just remember that for main-sequence stars, L ~ M4; this implies that younger populations have a lower M/L ratio than older populations [7].
It is not just the mass/lightness ratio. However, that can be inferred from  galactic kinematics and velocity dispersion [8]. The studies by Kirby et al. revealed a good empirical correlation between σ and the mass M• of the supermassive black hole, present at the center of most galaxies with a spheroidal component (i.e., ellipticals or early-type spirals) [9]. Although σ as a good central potential tracer, it is not completely intuitive to discover a relationship between black holes in active nuclei of galaxies (AGNs) and the kinematic properties of the gal. Host Axia, since the mass of the central black hole, is much smaller than the mass of stars in the bulge. It is speculated that this relationship, in fact, indicates a connection between the processes of formation and/or evolution of black holes and their host galaxies. Therefore, the kinematics of a galaxy, measured mainly through σ, carries very useful information about the central potential well, the stellar populations, and even about the activity of AGNs. In the next section, we will review the most relevant studies done to date on stellar kinematics in AGNs [10].

Previous Work
The Work by Terlevich et al. pioneered the systematic study of the absorption lines of the calcium triplet 8498.02, 8542.09, 8662.14 Å in AGNs. This spectral N. Barua International Journal of Astronomy and Astrophysics region stands out for being relatively clean, free from strong emission lines and other spurious effects. These authors emphasized the equivalent width of the calcium triplet (WCaT) and showed that it is a great tool for the diagnosis of stellar populations and the presence of a continuum non-stellar (featureless continuum) [11]. They came to the conclusion that WCaT for Seyfert-type galaxies does not suffer dilution and that, therefore, the featureless continuum disappears from the optical to the near-infrared. This is interpreted as a sign that the Ca ii lines are produced by red supergiants in bursts of star formation (starbursts).
This result was one of the first indications that nuclear activity and stellar formation can coexist in AGNs, a theme that, at the time, caused great controversy due to the clash between defenders of the starburst model for AGN and advocates of the more orthodox (and nowadays hegemonic) school that links the energy source in AGNs to black holes [12]. Another way to study stellar populations is via the mass/luminosity ratio.
Oliva et al. estimated M/L for AGN host galaxies by analyzing the CO (1.62, 2.29 µm) and Si (1.59 µm) bands in the near-infrared. It was observed, then, that the M/L ratio in this spectral range is an excellent diagnostic to distinguish between the presence of red supergiant (evidence of recent starbursts) and that of red giants (old population) [13]. Another result of this study is that about 40% of Seyfert 2 have features of young populations, in agreement with studies in other spectral ranges, such as Cid Fernandes et al. [14]. Interestingly, none of the 8 Seyfert 1 studied by Oliva et al. [15] present evidence of recent stellar formation, contradicting the expectation that Seyferts 1 and 2 differ only in orientation. Unfortunately, to date, this study has not been repeated for a significant sample of objects [16]. It was from the Work of Nelson and Whittle, however, that the dispersion of velocities in the calcium triplet region gained notoriety. In this study, velocity dispersions were measured for 85 objects with the cross-correlation method, for the absorption lines of the calcium triplet and Mg b λλ5167.5, 5172.7, 5183.6 Å [17]. The main contribution of this Work was the investigation of the relationships between 1) the stellar kinematics of the bulge and the properties of the active core galaxies, and 2) the stellar kinematics and the gaseous kinematics in these galaxies.
1) The relationship between the stellar kinematics of the bulge and the properties of the active-core host galaxies was explored through the Faber-Jackson relation, L ∝ σ n, for Seyfert-type galaxies. For normal galaxies, it was known that n ~ 3 -4; for Seyfert galaxies, these authors found n ~ 2.7. That is, there is no significant difference between the Faber-Jackson relation for normal galaxies and for Seyfert galaxies and, therefore, the bulge of Seyfert galaxies is kinematically normal. The authors [18] [19] [20] [21] found, however, an offset in the Faber-Jackson relation for Seyfert galaxies Figure 2 so that the velocity dispersions are on average 20% smaller than for normal galaxies given the same luminosity. That is, given the same brightness, the Seyfert galaxies are less massive; or, given the same mass, the Seyfert galaxies are more luminous. This implies N. Barua International Journal of Astronomy and Astrophysics that the M/L ratio for Seyfert galaxies is smaller than for normal galaxies. This result is consistent with starbursts and a young stellar population.
2) Another important result of this Work is the relationship between stellar and gaseous kinematics [22]. A strong correlation was found between the width σgas of the emission lines of [O iii]λ5007 and the dispersion of stellar velocities σ. This implies that the narrow-line region (NLR) has a strong dependence on the central gravitational potential. From these conclusions, we started to use σgas as an alternative to measuring σ. In order to investigate in which situations can σgas replace σ, Greene & Ho (2005) [22]. They also evaluated the effect of the fiber opening used in the sdss observations in σ. For the studied sample, the result is that the rotation effect on σ is despicable. These were the works of Ferrarese and Merritt [10] and Gebhardt et al. [12], however, which revived the interest in velocity dispersions. Both studies showed that there is a good correlation between this and the mass of the central supermassive black hole [13]. As this relationship is the most direct and probably the only relatively reliable way to measure M• for distant galaxies, it is not surprising the resurgence of works N. Barua International Journal of Astronomy and Astrophysics aiming to obtain measurements most accurate for σ in AGNs. In the next section, it presents the contribution to this search.
Another additional advantage of working with this spectral range is the diagnostics on stellar populations that can, in principle, be derived from the equivalent width of the Ca ii triplet. Therefore, the importance of deriving reliable methods for measuring velocity dispersion is indisputable. In studies initiated by Vega and Garcia-Rissmann et al., we present an atlas of calcium triplet spectra for 78 objects, most of which are active-core host galaxies [23].
We measured nuclear stellar velocity dispersions for 72 objects with the crosscorrelation and direct fit methods, and we verified that there is no significant difference between the results of the two methods [24]. Measurements were also taken of the equivalent width of the calcium triplet. In the present Work, details of the methods used to measure velocity dispersions were published in Garcia-Rissmann et al. The particularities of each method adopted are presented here, in addition to the extensive tests involved in uncertainty calculations [25]. The main objective is to promote a deeper understanding of the merits and limits of the methods used.
The present level of detail will contribute to this deepening by clarifying and adding some points from the studies already published. It should be noted that, for the direct fit method, we use the starlight stellar population synthesis code. Although this is not a synthesis application and we are only interested in σ, our code proved to be more than adequate for this purpose. For a sub-sample of 34 of our objects, I also present an unprecedented study with spatially resolved spectra. We observe, with these data, the variation of σ and of the equivalent width of Ca ii with the spatial position. From the behavior of these parameters, we obtained some diagnoses about stellar populations in Seyfert 1 and 2 galaxies [26].

Sloan Digital Sky Survey
The Great Databases Heaven has always enchanted the human mind with its tireless cycle of days and nights. Nights, in particular, have always been conducive to speculation about the seemingly endless bright spots. Since the admiration and cataloging of stars made by our most remote ancestors, humanity has sought, with the help of these vast data, to find cohesion and patterns that would explain the phenomena of the universe. Furthermore, when treading these paths, he came across a universe so immense that he had no choice but to subjugate himself and continue cataloging [27]. The efforts to catalog the celestial objects were not small; they came from the Babylonians, passed through Ptolemy, and expanded with photographic plates from the beginning of the 20th century. With the increasing storage capacity and the new possibilities of the so-called digital age, grandiose catalogs are being produced. The Two Degree Field Galaxy Redshift Survey (2dfgrs) and the Sloan Digital Sky Survey (sdss) are some of the boldest projects that have emerged in recent times [28]. Large databases with good quality data allow much more robust statistical tests, essential for corroboration, refutation, or even theory creation. Large databases are also revolutionizing the N. Barua International Journal of Astronomy and Astrophysics way astronomers work. What used to be done in an almost artisanal way-certain types of reduction and data analysis, for example-nowadays needs innovative and automated approaches [29]. New computational and statistical solutions are increasingly in vogue. sdss, in particular, intends to map an area of π stereo-radians (i.e., a quarter of the sky) and catalog more than 100 million objects.
Spectral information will be obtained for about a million galaxies in the local neighborhood selected among these objects [30]. The spectra cover the region of 3800 -9200 Å, with resolution λ/∆λ ~ 1800, and are observed through 3-arcse-

Previous Work
The abundance of sdss objects is reflected in the immense amount of studies carried out with this database. It is an almost superhuman task to review all studies derived from this base, despite their relative youth-the first wave of data was released in 2001. We will therefore focus on the Work of three groups: 1) Kauffmann et al. [23], 2) Heavens et al. [27]; Panter et al. [28], and 3) Cid Fernandes et al. [29]; Matthew et al. [30]; Stasi'nska et al. [31].
These groups work with the main stellar population synthesis methods applied to sdss objects to recover the history of stellar formation and galactic properties. The studies by Kauffmann et al. [23] retrieve the history of stellar formation, stellar masses, and dust extinction of sdss objects from spectral indices such as the break at 4000 Å and the Balmer's Hδ absorption line, quantified by the indices Dn(4000) and HδA, respectively [29]. In a nutshell, the method of this group consists of comparing the measured indices with a library of star formation histories. The first step of the analysis is to find the spectrum that best models the stellar contribution to the galactic spectrum. Thus, one can separate the galactic spectrum into two: a purely stellar spectrum, in which stellar indices are measured, and a "purely" nebular spectrum, resulting from the subtraction between the observed spectrum and the stellar modeled, in which nebular emission lines are measured [30]. After calculating the spectral indices, we then use the indices Dn(4000) and HδA as diagnostics for starbursts and to determine the stellar age; and, from the broadband photometry, the extinction by dust and the mass in stars are recovered [31]. These parameters are obtained by comparing the measurements of indices and colors with a library of Monte Carlo realizations of different histories of star formation, which take into account, various metallicities, both continuous star formation and starbursts. These authors present some important results regarding the mass distribution in galaxies and the host galaxies of AGNs.
The authors [32] found that most of the mass of the local universe resides in galaxies of M? ~ 5 × 1010M. Furthermore, there is a clear division between high N. Barua International Journal of Astronomy and Astrophysics and low mass galaxies Figure 3. Low-mass galaxies generally have a young population, a typical disk concentration index, recent starbursts, and evidence that the rate of star formation is larger than the galactic halo, perhaps as a result of supernova feedback processes. High-mass galaxies have older populations, a typical bulge concentration index, evidence that the rate of star formation decreases the larger the halo, and an indication that there is little star formation oncemassive galaxies form. For the studies of narrow-line AGNs (i.e., Seyferts 2 and LINERs), this group showed that their hosts have properties very similar to those of early-type galaxies [32].
For low luminosity AGNs (calculated from the emission line [O iii]λ5007), the stellar populations are very similar to those of early-type galaxies; on the other hand, for high luminosity AGNs (L[O iii] > 107 L), populations appear to be much younger, and there is evidence of recent starbursts. Based on the study of broad-line AGNs, these authors claim that there is no difference [32] between the stellar composition of galaxies of the Seyfert 2 type and quasars with the same luminosity and redshift. This means that young stellar populations are characteristic of AGNs with high luminosity. Previous studies, such as the one by Cid Fernandes et al., already pointed to this conclusion, but only with the extraordinary statistics of sdss can it be confirmed beyond any doubt. Multiple Optimized Parameter Estimation and Data compression (moped) is another stellar population synthesis method that has been applied to the sdss dataset. According to Heavens et al. and Panter et al., the technique consists of modeling the entire spectrum of a galaxy to retrieve a certain set of parameters about the history of stellar formation, the evolution of metallicity, and extinction.
The first step in the analysis of the moped is the removal of the emission lines and the degradation of the spectra to ∆λ ~ 20 Å, that is, the same resolution as the spectra of simple stellar populations used in the base. The compression algorithm then reduces the spectra to just ~ 25 data points which, in principle, contain as much information as possible about the parameters of interest. These ~ 25 points are chosen as the dot product between ~ 25 different weight vectors and the vector constructed from the spectral data. The secret is, therefore, in finding weight vectors in order to privilege the wavelengths most sensitive to the parameters of interest (i.e., age, metallicity, and extinction) [32]. According to the authors, this process manages to conserve all the information on the spectrum, or at least all the information of interest; therefore, certain degeneracies, such as age-metallicity, are much milder than for studies with spectral indices. Furthermore, it is worth remembering that no a priori hypothesis is made about the history of star formation.
The authors of studies with the moped obtain some results with implications for the evolution of galaxies. One of the main results is that more massive galaxies form stars sooner compared to less massive galaxies, and therefore the history of star formation is not the same for galaxies of different masses Figure 4.
This points to downsizing behavior. They also find that the rate of star formation has been declining for about 6 billion years; for redshifts of order z > 2, the N. Barua International Journal of Astronomy and Astrophysics  . The fraction of total stellar mass in galaxies in the local universe as a function of stellar mass (left panel) and Dn(4000) (right panel). Dn(4000) is used as a diagnosis for stellar populations, so the higher Dn(4000), the younger the populations. Note how this distribution is bimodal-extracted from Kauffmann et al. [23]. rate of star formation calculated by the authors is in agreement with observations and independent studies on high redshifts, which is expected by the Copernican principle. Furthermore, the authors state that the distribution of metallicities for stellar-forming gas is inconsistent with closed-box models but consistent with the infall model, by the galaxy. They then calculate the fraction of the mass of the gas in relation to the total mass from infall models. The studies by Cid Fernandes et al. [29]; Matthew et al. [30]; Stasi'nska et al. [31]; Gomes [32] presented some results obtained with the semi-empirical synthesis of stellar populations, using the starlight code, for samples of about 20,000 -50,000 galaxies of  [32] carried out an extensive study on the problem of synthesis for elliptical galaxies. It was concluded that these galaxies must have a population with a different α/Fe ratio from the solar one and that it was not well represented by the stellar population base. They were simply used in the synthesis. This shows that we must be very careful with our results, always checking that they are not being distorted by some effect of incompletion in the base.
Matthew et al. [30] highlight the study of the bimodal distribution of stellar populations in galaxies. This bimodality is seen mainly in the color of the galaxies, in the Dn(4000) index, and in the middle star age. It is found that the average age weighted by luminosity is the main responsible for this effect. Furthermore, evidence of downsizing is also shown. Stasi'nska et al. [29] used the nebular results to study ways to distinguish AGNs from NSFGs. The emphasis of this Work is to understand why diagnostic diagrams take the form they do, comparing data with photoionization models. In addition, a new diagram, allows the classification of galaxies at high redshifts with optical spectra. There are, therefore, considerable differences between the methods applied by our group, such as starlight, and the techniques of Kauffmann et al. [23] and Heavens et al. [27]. The group involved in the study by Kauffmann et al. [23], on the one hand, uses spectral indices to create libraries of stellar formation histories, which limits the level of detail in studies of the evolution of galaxies. On the other hand, as they obtain a pure nebular spectrum by subtracting a stellar continuum, they can investigate in-depth the emission lines coming from the gas in galaxies (and from there, for example, study nebular abundances and classify galaxies in AGNs and NSFGs).
The group working with the moped [27], on the other hand, obtains much more robust information about the contribution of stellar populations to galaxies. Therefore, they get a reasonably detailed history of star formation and galactic evolution. However, as their technique consists of completely eliminating the N. Barua International Journal of Astronomy and Astrophysics emission lines, the entire nebular study carried out by this group is based on chemical evolution models and, therefore, does not reach the degree of detail achieved by Kauffmann et al. (2003a). Starlight, in turn, brings together the best of both worlds and with a greater degree of detail. Our studies of the history of star formation in galaxies, for example, are based on a much more detailed adjustment of the galactic spectrum than the one used by the moped. And, in the study of emission lines, we have at our disposal, for comparison, much more robust stellar parameters than those obtained only with spectral indices, as the Work of Kauffmann et al. We, therefore, have much more complete tools for dealing with various astrophysical problems. In the next section, we present some extensions of the application of the starlight synthesis code to the sdss database, continuing the studies by Cid Fernandes et al. [29]; Matthew et al. [27]; Stasi'nska et al. [30]; Gomes [29].

Current Work
In this Work, we apply the starlight synthesis algorithm to 354,992 galaxies from the sdss database [27] [32] [33]. We present here two studies made from this sample of galaxies. The first study is dedicated to the technical improvement of the synthesis. Our main aim was to solve the problem of automatic mask creation (that is, the elimination of unwanted regions in the fit) for the spectra of the database objects. Good masks are fundamental to improve the reliability of the fit and obtain an excellent residual spectrum, in which we can more clearly observe nebular emission lines. The second part of this Work represents the beginning of exploring the extensive database built with the synthesis results for 354,992 galaxies. Such a database makes it possible to address numerous astrophysical questions about the nature and evolution of galaxies. To illustrate this potential, we present two preliminary results. First, we use diagnostic diagrams to investigate the differences between the sequences of host galaxies of active cores and normal galaxies with stellar formation. In the second, we obtain the history of the stellar formation of galaxies as a function of their mass in stars for both AGNs and NSFGs. Although many details have not been considered at this time, we already see some fascinating results, which we intend to deepen in further studies.

Synthesis of Stellar Populations
A hundred years ago, there was still no clear distinction between the Milky Way and the rest of the universe. It was only in the 1920s, mainly from the studies of Edwin Hubble, that it was accepted that some of the "spiral nebulae" observed in the sky were, in fact, other galaxies. The fact that we have somehow discovered galaxies so recently speaks volumes about the difficulty of observing them. Of course, our understanding of extragalactic objects has advanced enormously in the last century, going through the Hubble diagram and into large-scale structure studies. Still, one difficulty remains: for most galaxies, except for the very N. Barua International Journal of Astronomy and Astrophysics close ones, we cannot resolve individual stars. They still seem, even to the eyes of the most modern telescopes, interesting and curious foggy [26].
Despite the observational difficulty, astronomers have developed some tricks to obtain information about the composition of galaxies, even without being able to solve their constituents. If we can have information about the ions that make up a star even without observing the ions, why shouldn't we be able to deduce which stars make up a galaxy even without being able to directly observe its stars? The strategy found was to reproduce or model the integrated spectrum of a galaxy and, in this process, find the population of stars that inhabit it. Thus, two schools emerged that developed the so-called synthesis of stellar populations: the evolutionary and the semi-empirical.
A detailed review of these studies is made by Gomes [32]. In general terms, evolutionary stellar population synthesis produces a library of spectra from certain initial hypotheses, such as the history of stellar formation, the evolution of which imic, and the initial mass function. An attempt is then made to find, within this library, the spectrum that most resembles the observed galactic spectrum. Semi-empirical stellar population synthesis, on the other hand, attempts to model the spectrum of a galaxy as a linear combination of stars or stellar clusters. Whichever method is adopted, the vast majority of studies do not work with the entire spectrum, only with spectral indices (like equivalent widths and colors, for example). Obviously, both approaches have their advantages and disadvantages.
The main drawback of evolutionary synthesis is to ensure that initial hypotheses lead to real physical models and that the object library is complete. The difficulty of the semi-empirical synthesis, on the other hand, is to start with a base of stars or clusters comprehensive enough to reproduce the different conditions of the other galaxies. And regardless of the approach to the synthesis problem, it is convenient to use the observed spectrum as a whole, which certainly contains more information than isolated spectral indices. Our group decided to tackle the synthesis problem in order to make the best of both schools. We thus try to model the entire spectrum of a galaxy from a linear combination of base elements. This is, at first glance, just a step forward for the semi-empirical synthesis, which has only recently been done with spectral indices. We can, however, insert a dash of evolutionary synthesis if we wish.
The base need not necessarily consist of observed stars; simple theoretical stars or stellar populations can be used. All the hypotheses of chemical evolution, atmospheric models, and stellar formation history will be embedded in this theoretical basis. Despite the great myriad of applications already covered with our synthesis program from observed starbases, only from the library of simple stellar populations developed by Bruzual & Charlot [34] is that the relevant galactic properties, such as age, metallicity, and mass, could be retrieved in a more robust way. This, added to the large databases with quality spectra, such as the Sloan Digital Sky Survey (sdss), encouraged the improvement of the starlight N. Barua International Journal of Astronomy and Astrophysics synthesis algorithm [29].
In this work, we apply the starlight synthesis code to two studies. One of these is the study of stellar kinematics in galaxies in the calcium triplet region, at 8498.02, 8542.09, 8662.14 Å. The other is a demonstration of a small fraction of the information that can be derived from the sdss database. In the next section, we will generally discuss the mathematical implementation of our synthesis code. We analyze your idiosyncrasies and care that should be taken when analyzing the results inferred by our algorithm.

The Starlight Synthesis Algorithm
As explained in the previous section, the mathematical approach of the starlight population synthesis code follows, in a way, the semi-empirical school. Our method consists of modeling an observed O λ spectrum using a convex combination (i.e., a linear combination with positive coefficients) of the elements of a base. We've also included a Gaussian to account for kinematics and a term for extinction by dust, according to the following equation: where: • M λ is the synthetic spectrum. • M λ0 is a normalization factor, defined as the total flux of the synthetic spectrum at wavelength λ 0 . • T j,λ is the spectrum of the jth (j = 1, •••, N) base component, normalized to λ 0 . The basis can be constituted either by observed stars or combinations of stars or by theoretical stars or stellar populations. One can even include, depending on the problem studied, other components in the base, such as quasars or power laws. • x j is the fraction that each element T j,λ of the base contributes to the flow of M λ .
• G(v, σ) is a Gaussian distribution of line-of-sight velocities, centered on v and enlarged by σ.
• ⊗ expresses a convolution. The best fit is defined as the one that minimizes the χ two between the observed spectrum and the model: where w λ is the inverse of the noise in O λ . We use the Metropolis algorithm in conjunction with simulated annealing (see, for example, MacKay 2003) to try to prevent the fit from being locked by local minimums of χ 2 . Spectral features that are not desirable in the adjustment, either because they are too noisy or because they are not included in the base, can be masked with the simple definition of w λ = 0. As a general rule, we verify that masks based on general characteristics of the studied sample produce a good first approximation for the modeled spectra. However, for a refinement of the adjustments, it is essential to make an individual mask for each studied object, taking into account the peculiarities of each spectrum to be modeled. The fact that "general" masks, that is, applied to all ob-N. Barua International Journal of Astronomy and Astrophysics jects in a sample, produce good results in a first approximation lies in the control mechanisms designed in the program. One of these mechanisms, for example, consists of automatically masking parts of the spectrum that are from two to three sigma (this number is adjustable by the user) above the noise. Thus, it is expected to reduce the interference in the adjustment by stronger emission lines or bad pixels that were eventually not masked a priori by the user. Simulations and empirical tests to verify the reliability of this method in the recovery of galactic properties were performed by Gomes [32]. In an analysis of the results of any application of the synthesis code, one must take into account, for example, the effect of the multiplicity of solutions. This is mainly linked to intrinsic base degenerations (such as the age-metallicity effect or the use of very similar stars) or even statistical degenerations, that is, the impossibility of differentiating two solutions distinct due to the noise level in the studied spectrum.

Applications of the Stellar Population
Although the starlight synthesis code was developed mainly with the objective of recovering the star formation history of a galaxy, he proved to be much more versatile. The algorithm can be used, for example, to remove all the stellar contributions to a spectrum in order to study the pure nebular emission spectrum of a galaxy. Another possibility is to use it to model only a small spectral band that contains absorption lines and obtain good measurements for the dispersion of stellar velocities of this line. The study presents the application of starlight to measuring the dispersion of stellar velocities in the calcium triplet range. We use standard starbases of observed velocities in the same instrumental configuration as our objects. The bases are mainly constituted by stars of the spectral type K, more frequently of the type K0III, and eventually some stars of the type G and F.
In these cases, we clearly have the problem of the intrinsic linear dependence of the base. We analyzed the extent to which this affects our measures of velocity dispersion and the corresponding uncertainties. In this study, we used an extensive and extremely detailed theoretical base of 150 simple stellar populations from the Work of Bruzual & Charlot [34] of 25 different ages and six metallicities. Depending on the degree of precision desired, we use either reduced bases, which save a lot of computation time for the hundreds of thousands of sdss objects, or more complete bases, including a finer grid of populations. Different ages and metallicities. This will actually be the first application of this giant sample, whose modeling was recently completed. Figure 5 shows an example of the application of our synthesis code to the study of the calcium triplet. The following Figure 6 and Figure 7 provide examples of spectral synthesis for sdss database objects.

Study of the Calcium Triplet
This chapter presents a study of the stellar dynamics of galaxies by analyzing the absorption lines of the calcium triplet 8498.02, 8542.09, 8662.14 Å. Section N. Barua International Journal of Astronomy and Astrophysics 3.1 deals with sampling, observations, and data reduction. Despite having followed this process, this part of the Work was carried out almost entirely by collaborators [13]. This last section also detailed a work conducted by me and supervised by Dr. R. Cid Fernandes, taking advantage of the algorithm for calculating the equivalent width of the Ca ii triplet encoded by Vega [20].

Observations and Data Reduction
The observations present in this Work were made in six shifts in three different telescopes. The following were observed:

N. Barua International Journal of Astronomy and Astrophysics
We obtained a total of 80 spectra from 78 galaxies-the Mrk 1210 and NGC 7130 galaxies were each observed twice in different telescopes. Our sample consists of 43 Seyfert type 2 galaxies, Seyfert type 1 galaxies, and nine non-active galaxies shows in Figure 8. The spectra of the respective galaxies are shown in Figures 2-6. In addition to the sample galaxies, we also obtained spectra of stars to use as models for speed calibration. The stars were observed with the same instrumental configurations as the galaxies for all turns. This eliminates the need to make further corrections to the instrumental resolution for measuring velocity dispersion [15].
Data reduction was conducted by Dr. A. Garcia-Rissmann [8] and L. R. Vega [20]. Corrections were made for reading noise (bias), the pixel-by-pixel difference (flatfield), and dark current (dark) effects. As the standard procedure, the flow and wavelength calibration with the iraf tool package was applied. The fact Figure 8. Examples of spectra modeled with a direct fit. In full-line, the observed spectra are graphed; in dotted line, the modeled spectra. The regions considered in the adjustments are drawn in a thicker line. The galaxies NGC 7410, NGC 1068, Mrk 1, NGC 1241, NGC 2997, and NGC 3115 are "a" quality; Mrk 516, Mrk 3 and Mrk 461, of "b" quality; and IRAS 04502-0317, Mrk 273, and Mrk 705, of "c" quality.
N. Barua International Journal of Astronomy and Astrophysics that our spectra are in the near-infrared region caused us to have problems with fringing, that is, internal reflections in the CCD camera that create interference patterns in the image. In these cases, a careful procedure was adopted, following the recipe of Plait and Bohlin, to minimize the effect of the fringes. More details can be found in Garcia-Rissmann et al. [8]. To test to what extent fringes could interfere with our measurements of velocity dispersion σ, one of the main parameters of our analysis, we compared measurements in spectra with and without fringe correction. The difference between the σ derivatives proved to be within the uncertainty estimates. All spectra were placed in the resting frame, using the mean redshift (redshift) measured in the Ca ii lines [31].
The Galactic reddening effect was also corrected for each galaxy, using NED data. All spectra presented in this chapter are nuclear. For all program objects, a three-pixel region centered on the luminosity peak of the galaxy was defined as nuclear. Defining the opening radius rab as the radius of a circle whose area comprises the area of our nuclear spectrum, we have, for our sample, rab = 50 -700 pc, and a median of 286 pc. Some spectra, after data reduction, present certain characteristics or artifacts that can hinder the analysis of the Ca ii region. Such characteristics are, for example, emission lines in the Ca ii region, excess noise, atmospheric spectrum remnants, and spurious effects [26].
For this reason, I, Dr. R. Cid Fernandes, and L. R. Vega classified the spectra, by visual inspection, according to the quality in the Ca ii region. "a" quality spectra are relatively clean and little affected by the aforementioned effects. Those of "b" quality are those in which one of the lines of Ca ii is contaminated. The quality "c" is the most problematic, with at least two lines heavily compromised.
The "d" spectra are those that have complexities beyond the analysis capacity of our study. Examples of the latter are the narrow-line Seyfert 1 galaxies with wide Ca ii lines in emission.

Direct-Fit Method
A tool increasingly used [33] to measure velocity dispersion is the direct fitting method (dfm, the acronym in English for the direct fitting method). This method consists of modeling the observed spectrum using a linear combination of elements of a base of standard velocity stars, whose lines of Ca ii are enlarged and displaced by the convolution with a Gaussian filter, according to the same formula used in the synthesis of stellar populations: with the following particularities: • M λ is the synthetic spectrum. • M λ0 is a normalization factor, defined as the total flux of the synthetic spectrum at wavelength λ 0 = 8564 Å. • T j,λ is the spectrum of the jth (j = 1, •••, N) base component, normalized to λ 0 . Each galaxy was modeled with a base that included only the observed velocity standard stars with the same instrumental configuration, so we do not need to make corrections for the resolution. Instrumental dog.

N. Barua International Journal of Astronomy and Astrophysics
We also include taking into account the effects of stellar populations not included in the base, a continuum C λ , which is a combination of power laws of the type λ β. • x j is the fraction that each element T j,λ of the base contributes to the flow M λ . • r λ ≡ 10 − 0.4 (A λ − A λ0 ) takes into account the effects of extinction by dust. In the case of the Ca ii triplet analysis, the measured value of r λ should not be taken into account, as we are working with a very narrow spectral range in which the effects cannot be measured, of dust. • G(v, σ) is a Gaussian distribution of line-of-sight velocities, centered on v and enlarged by σ. • ⊗ expresses a convolution. The best fit is defined as the one that minimizes the χ two between the observed spectrum (O λ ) and the model, as in Equation above.
Simply by defining the inverse of the noise as w λ = 0, individual masks are built for each galaxy in order to avoid spectral features that interfere with the adjustment, such as emission lines, bad pixels, and remnants of heaven. Furthermore, due to the construction of the algorithm's output files, the visualization and comparison between the observed spectrum and the obtained model are quite straightforward [17]. Figure 8 shows a depiction of this.

The Effect of Masks
Depending on the quality of the spectrum and the contamination of the Ca ii lines, the mask used in the direct fit method can have a considerable influence on the dispersion measurement. To speeds. In the preliminary tests with the masks, we were guided by the Work of Barth et al. (2002). In principle, we use a window from 8480 to 8690 Å, which completely includes the absorption lines of Ca ii. The region from 8560 to 8640 Å was excluded from the analysis as it resulted in a poor fit. We test this mask for all our objects. After a visual inspection, we created another half-dozen "general masks", that is, masks used by all galaxies indiscriminately. After this first screening, we started to look more carefully at the galaxy by the galaxy. For each of the spectra, we verified the suitability of the "gm" and "gm5" masks.

Direct-Fit Method
The same comparative test between individual masks and general masks was not so promising, on the other hand. Excluding two complex cases, the variations in σ due to the differences between general and individual masks were of the order of 17 km/s, still comparable to the uncertainties ∆σ. For "a" quality spectra, the variations are of the order of 9 km/s; for those of "b" quality, 30 km/s; for type "c," 27 km/s. The confection of individual masks, therefore, brings notable benefits for the reliability of measurements of σ, despite a certain amount of subjectivity involved. On the other hand, general masks, made according to the characteristics of the sample as a whole, are a good approximation for preliminary studies or those that do not need a very high degree of reliability. For large samples, where it is not possible to visually inspect all spectra, general masks can be used, taking certain precautions [12].

Calculation of Uncertainties
In this section, I detail the procedure for estimating uncertainties in σ derived from the direct fit method. Although at first glance, this seems like an already well-defined subject in the literature, there are several details that can be complex and call into question the validity of a measure of ∆σ [21].  [13].
After obtaining the fit with the individual stars, we take the mean and the mean square deviation of σ for each of the sub-samples. Figure 2 compares the results of σ obtained by this procedure with the results measured with the base that includes all the stars of the turn. We use exactly the same individual masks for adjustments with different bases. For the ESO sub-sample, the uncertainty ∆σtm?
Due to the template mismatch, it is of the order of 5 km/s or 30% larger than the measure adopted in this work ∆σ, measured from the χ two distribution func- line, it will need to extend this by a smaller amount. Therefore, it is these underestimated measures, using individual stars, that cause the offset in Figure 2.
When the modeling is done with a base of stars K, F, and G, on the other hand, the program gives preference to those that do not have Paschen lines and, therefore, estimates a correct value for σ of Ca ii.
The question is, therefore, how to quantify the uncertainties from the direct fits with the complete starbase. According to Press et al., one way to estimate the error bar is from the χ two distribution function. Because we are interested in uncer-N. Barua International Journal of Astronomy and Astrophysics tainty in just one parameter, σ, this method provides a simple and straightforward procedure. In this case, a variation of ∆χ 2 = 1 is statistically equivalent to an extension that covers 68.3% of a data set in a normal distribution. The method is computationally expensive but not too complicated. For each galaxy in our sample, we need to obtain a curve of χ two as a function of σ. We start from the σ, the best value obtained with the model that minimizes χ 2 . Let's call this χ two χ 2 min. We travel an interval of 40 km/s around the σ, best. In this window, we set the value of σ, adjust the other parameters of the model and recalculate χ 2 [33]. Thus, we have a distribution of χ two as a function of the parameter σ, as shown in Figure 9 and Figure 10.

Discussion and Conclusion
The discovery of an empirical relationship between the mass of the central black hole (M•) and σ was the main guide of our detailed study of the calcium triplet region. Therefore, the search for more accurate methods for calculating the dispersion of velocities, in addition to the careful study of uncertainties. So one of the following steps is to calculate M• for our objects and relate it to other properties. It has recently been questioned whether there are "intermediate" black holes, that is, not as massive as those usually found in the center of galaxies. We suspect that this possibility is worth investigating for at least one object (NGC 4748) in our sample. However, it should be remembered that our instrumental scattering is not very convenient to detect σ small.
Another critical study to be done with the calcium triplet is calculating the mass/luminosity (M/L) ratio from σ and photometric information. Thus, one can further investigate the stellar populations of the active galaxies. This possibility is exciting for type 1 Seyferts, for which traditional stellar population diagnoses are not feasible. For the study of sdss, we have as much to improve our preliminary results as to investigate another immense range of analyses. The mask detection program, for example, can receive an even more complete list of emission lines to be detected, including recombination lines important in the study of chemical abundances, like C and O. Furthermore, the program can be improved to fit the lines more precisely by calculating other parameters of the Gaussian with which we try to model the lines-at the moment, we just adjust their amplitude. Also, we can use it for weak line detection [29].
As we've seen, galaxy mid-range spectra allow you to see certain spectral features that are hidden by noise in individual spectra-both adjustment problems and weak emission lines. That is, we can use the program that masks lines with slight modifications (or perhaps none at all) to detect these faint lines in medium spectra automatically. We also fit new models for our sample of ~355,000 objects, this time with a simple stellar population base that excludes populations with very low metallicity (Z = 1/200 e 1/50Z) included in the analysis presented here. These populations have important effects on some parameters, such as M/L, mass, and average age. However, their spectra in the Bruzual and Charlot [34] models are computed relatively coarsely due to the lack of a complete library of stellar spectra with such metallicities. Therefore, we found it convenient to investigate their effect on our adjustments. This same group will even soon release new versions of metal-poor populations.
As for the preliminary results presented here, there are several details that we have not yet included in our calculations for the BPT diagnostic diagram and star formation history. We need, for example, to further investigate the completeness of the sample and correct our timescale to a cosmological timescale.
We hope, therefore, to obtain SFRs that show in more detail the evolution of galaxies in the local universe. Therefore, the immediately subsequent steps are to detail our studies of sdss more rigorously. Furthermore, as we have already men-N. Barua International Journal of Astronomy and Astrophysics tioned, there are many other synthesis products that we can investigate, and it would be impossible to list all these branches here.

Conflicts of Interest
The author declares no conflicts of interest regarding the publication of this paper.