Week 12: proof of variation

Willb/ April 28, 2020/ astronomy 341/ 0 comments

In quarantine, it doesn’t seem like a lot changes day-to-day. The second part of this blog addresses how I used the linmix package to prove that our TESS-S21 field M-dwarf targets exhibit H-alpha, even in their old age. To begin, however, I’ll address a bunch of changes/improvements/revelations I made to our periodograms and period fitting.

Understanding is stochastic…

Is what I’d tell my last-blog self. It took a while, but eventually I re-examined a good portion of my periodogram code and recovered some reasonable, meaningful results. I was able to catch most of my errors by reviewing my assumptions, comparing my work to my partner’s, and unit testing. I simplified the functions I was using to generate my periodograms and model fits into one that was able to generate curves for H-alpha and continuum data simultaneously.

Some of what was tripping me up was moving between frequency and period space and getting caught plotting one when what I wanted was the other, this screwed up my plot limits, my model parameter selection, and a few other small pieces of code.

My fixed periodogram and phase-lightcurve for a simple, quickly rotating star

The kinds of stars in the sky

With my periodograms coming up understandable, I set to work tweaking fit limits in order to finalize a list of period fits for our further analysis.

Because of our nightly cadence, I limited the periodogram to a periods greater than 1.5 days, or a maximum frequency of 0.67. To account for our limited timescale (8 days of observations) I limited the periodogram to periods less than 12 days, or a minimum frequency of 0.08.

The results of running the LombScargle periodogram with these limitations on our TESS-S21 field photometry data are summarized in the table below.

NumberRADecTypeHa recoveryHa-off recoverySpectral TypeGaia B-RMass (Msun)( Don’t use)TESS satellite period (days)Ha periodHa-off periodHa AmplitudeCont amplitudeHa amp errCont amp err
M16135.515362227.92448588M-dwarf11Unknown2.52450.3670.6642573.5967473.5967470.0730790.0946510.0372380.039717
M19135.545022827.95219364VLMS11Unknown1.90430.116n/a3.5967472.5507370.0629810.0625780.0266660.026752
M20135.947426727.95276423M-dwarf11Unknown1.92360.469n/a4.0076084.0076080.17310.1592140.0139410.012779
M22135.588470627.97634018M-dwarf11Unknown2.45570.3060.727522.0940022.5507370.3712670.3058980.1961670.233737
M26135.676358428.05036671M-dwarf11Unknown2.3130.536n/a3.5967474.5244410.0372820.0635860.0279470.028224
M27135.84637328.05020411M-dwarf11Unknown2.56150.4760.6111172.2269192.5507370.1505460.2128950.0854130.088482
M28135.532418828.05821814M-dwarf10Unknown2.3840.44.5244410.3963410.29016
M31135.586068328.07026933M-dwarf10Unknown3.13660.1621.140.3996390.163549
M33135.571628428.09342772M-dwarf11Unknown2.65930.4510.8647882.2269193.5967470.1363790.1003350.0784210.080169
M36135.781387428.15725462M-dwarf10Unknown1.92230.4692.0940020.1440950.051123
M43135.569804728.22642501M-dwarf10Unknown2.69690.3192.2269190.1873870.097253
M46135.920660128.2615831M-dwarf10Unknown2.18170.432.3778540.6812660.249835
M47135.903202128.26535994M-dwarf10Unknown2.1680.2182.0940020.4018970.234388
M48135.842568428.28138518M-dwarf11Unknown2.33830.3890.8041014.5244412.5507370.1792480.1816830.0752820.07984
M49135.86791128.31582296M-dwarf10Unknown2.39650.4162.7507290.3788380.097551
M50135.970143928.3156986M-dwarf11Unknown2.30450.3331.238752.3778543.5967470.1561720.194920.0722320.050623

Results varied from inactive rotating stars, like below,

In this example both filters vary with similar period and amplitude

To active rotating stars, like this one,

In this example the H-alpha varies with the same period and amplitude as the continuum, while maintaining a consistent flux offset which indicates chromospheric activity

and these non-detections, which we argue also indicate activity.

Lena made this plot for period vs mass for both of our fields, which shows the spread in period at lower masses, but also interestingly the concentration towards lower values of older targets.

We’ll use these figures use in our analysis for our poster and presentation.

Proof of variation, a lin-remix

In order to prove the low-mass targets in our TESS field were varying at H-alpha, thereby exhibiting chromospheric activity, I constructed a graph of the amplitude in H-alpha versus the amplitude in the continuum. If the targets were indeed brighter and varying more at H-alpha, the slope of this line would be greater than 1. A slope of one would indicate that both filters varied the same amount, which would indicate inactivity at H-alpha.

Making the plot and doing a simple linear regression seems to prove this, but barely; a slope of 1.12 is certainly greater than 1, but not by an incredibly convincing amount. Alas, if only we could leverage those non-detection results that lay lazily to the far left side of our plot. As it turns out, we can!

This type of data is called censored data, which means that the value of some (or all) of the data is partially constrained. In this case, we know the variation in our continuum emission is less than our error (which we get from our photometry) but otherwise we do not know the value for those data points. Censored data can still be useful and informative; we can imagine visually that if we could include our censored data into our linear regression that we’d likely end up with a slope that’s much greater than unity.

I’m no statistician, but I do like the idea of bayesian statistics, and iterative processes. The linmix package uses an MCMC method to fit linear regressions to data with errors and censored data. The resulting MCMC fit gives a much more convincing result, especially when plotted with error bounds that do not include unity.

linmix was very interesting to play around with and learn to use, and I’m glad I poked into this bit of math unprovoked. Hopefully its something I can use in the future.

Coming up soon is our poster presentation: the conclusion to this epic Astronomy 341 adventure. Until then, clear skies!

Share this Post

About willb

I'm Will, an undergraduate astronomer studying transition disks, direct imaging, and planet accretion and formation at the Follette Lab at Amherst College. I use they/them/theirs pronouns.

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
*
*