Monday, September 7, 2015

The Harvard Banneker Institute Final Post

I know I have not made a new post in a while, reporting on the progress of my 2015 summer research with Dr. David Kipping, but I'm happy to say that I finished the project and I will be writing about my results below. The main purpose of this blog was for me to always keep making progress on my work because I knew that I had to write about it. This blog was mainly for me and I wrote as if I was telling myself what I did and what I still have to work on. This is why a lot of my post seemed to be "lacking details" but it's because those are post intended for me, very unorthodox writing style for blogs.

Just to summaries the main purpose of my summer research was to find the eccentricity of the planets in the planetary system EPIC 201367065 aka K2-3, the 3rd planetary system founded using the spacecraft Kepler 2. The system contains 3 planets the orbit a M-Dwarf star at a distance of 45 pc. Using these eccentricities I was able to find the if the planet's orbit is in the habitable zone, since the eccentricity determines the shape of the orbits and if the orbit is too eccentric than the planet will move out of the habitable zone.

The image below is the final plot that I made of K2-3, it shows the range of the semi-major axis of each planet, and the habitable zone in AU. I was very hopeful that my planets orbit in the habitable zone, unfortunately none of them orbit in the habitable zone. But this is only one of the characteristics that makes a planet habitable, we also need to take into account the atmospheric effects which I had no way of testing for these effects. As a scientist I must remember that my purpose is to figure out how the universe works, not show how I wanted it to work.



This summer was my best summer ever. Not only because of the things that I learned while doing research and taking grad level classes, but because of the people that I was with. My fellow Banneker students and affiliates were all people that helped me come closer towards becoming the BEST VERSION OF MYSELF. They are true friends for life and it was an honour to be a of part of the first Banneker class.

http://bannekerinstitute.fas.harvard.edu


“Walking with a friend in the dark is better than walking alone in the light.”

-Helen Keller

Sunday, July 26, 2015

Day 33 Banneker Institute

This post will also be a special post, it will be about another Harvard graduate student, Luke Kelley. I was lucky enough to interview Luke about his work and the life of a graduate student. Luke also gave advise that will help future graduate students. Luke's main area of research is in massive black hole mergers. He studies what processes mediate this process, what mechanisms, and how long it takes for this process to occur.

Luke's love for Astrophysics began when he first watched Star Trek. His fascination for science took him to UC Santa Cruz where he did research in particle physics. He then change into Astrophysics where all aspects of physics are used, unlike in some Physics sub fields where only one or two aspects of Physics are used.

Graduate school differs a lot when compare to other level of education. In graduate school you suppose to be self motivated and independent. This is unlike other levels of education where you are guided trough the learning process. Luke advised undergraduate students to focus on getting research experience, and good recommendation letters that will speak about your research potential. These are the key elements that will help undergraduates get into graduate school.

Life in graduate school is also a lot different, in the sense that you choose when to work. Some work early in the morning and some late at night but the key is to not get sidetracked. Another important factor is finding a balance so you don't over work yourself.

Luke Kelley's websites and contact info:
https://www.cfa.harvard.edu/~lkelley
https://www.youtube.com/user/lzkelley
Two really interesting simulations:
https://www.youtube.com/watch?v=JVZEAA-0058

"There is no great genius without a mixture of madness."

-Aristotle

Tuesday, July 21, 2015

Day 32 Banneker Institute

Bayes' Theorem


Hola mundo,

Today I'll be explaining Bayes' Theorem and it's use in predicting events. The Bayes' Theorem uses a prior hypothesis based on a set of parameters and prior knowledge of the system that you are trying to predict, but you do not build a hypothesis of the model only of the result. The theorem uses a likelihood that event happening, giving that your parameters are true. The prior and the likelihood are completely independent of each other. Bayes' Theorem also uses a term named evidence (E) which in my case I am not using because it's a normalization term.

$$P(a|D) = \frac{{\Pi}(a)L(D|a)}{E}$$
$\Pi(a)$ is the prior where a is the hypothesis in the form of parameters a.

$L(D|a)$ is the likelihood where D is the data of the system in question.

I use this theorem to find the probability of getting heads after flipping a fair coin. I ran a few trials and plotted the results of the formula below.

$$P*H^{k}(1-H)^{n-k}$$
Where P is the prior, His the probability of getting heads, n is the number of trials, and k is the number of times we get heads. Below is a plot with the probability density distributions of my trials. As you can see the maximum probability of my trials are close to 0.5 which is the probability of getting heads using a fair coin if you flip the coin an infinite amount of times.

"Happiness is when what you think, what you say, and what you do are in harmony."

-Mahatma Gandhi

Saturday, July 18, 2015

Day 31 Banneker Institute

This post is going to be different, I am not going to talk about my progress in my research, but instead about a Harvard Astronomy graduate student, Fernando Becerra. Fernando gave some advise for undergraduate students that want to go to graduate school. He spoke about the differences between graduate school and other levels of education. And he described how the lifestyle of a graduate student is like.

Fernando decided to study because he wants to understand how the physical world works. The way that he wants to do this is through the laws of Physics, and the language of Mathematics. Fernando is currently researching star formations, galaxy mergers ,and the first black holes in the universe. His work involves writing computer programs that will simulate the environments that these systems are born in. You can see some of his simulations in his website linked below.

Fernando described that biggest difference between graduate school and other levels of education is that you more independent. In High School and undergrad you mostly absorb knowledge, but graduate students generate knowledge. In graduate school is when people start to think and work like a researcher. Upcoming graduate students should have an open mind, and should know that research is not the same as the classroom. The skills needed to be a good researcher are different from the skills needed to get a good grade.

Upcoming graduate students need to able to explore to ideas and be flexible to change research projects at the beginning of their graduate careers. They need to know that academia is NOT THE ONLY PATH. Graduate school is the time to train yourself so you can obtain the skills necessary for your dream profession. In terms of the lifestyle of a graduate student, there is no one style. Everyone decides when to work and when not to work. Some people work early in the morning, and others late at night. The main thing to keep in mind is to be consistent.

Fernando's Website and Contact Information:
http://www.cfa.harvard.edu/~fbecerra
fbecerra@cfa.harvard.edu

"Even if you fall on your face, you're still moving forward."

-Victor Kiam

Friday, July 17, 2015

Day 30 Banneker Institute

I manage to fix the eccentricity calculation by changing the units to SI units. The values for the insolation of the planets is still a little strange, but I need to analyse this a little deeper.

"You must be the change you wish to see in the world."

-Mahatma Gandhi

Thursday, July 16, 2015

Day 29 Banneker Institute

After calculating all of my parameters for all three planets, I noticed that the values for the insolation and the eccentricity are too large. These values don't make physical sense, but the mathematics seems to be correct. The only thing that I can do is to go back and double check my python code for any errors.

"A leader is best when people barely know he exists, when his work is done, his aim fulfilled, they will say: we did it ourselves."

-Lao Tzu

Wednesday, July 15, 2015

Day 28 Banneker Institute

I was able to calculate the insolation (S) and the eccentricity (e) of all three planets. The insolation of a planet is the amount of thermal energy that a planet obtains from its host star. The eccentricity is the shape of the orbit of an object as shown below.





$$e = \frac{|1 -  (\frac{\rho_{obs}}{\rho_{true}})^{2/3}|}{1 + (\frac{\rho_{obs}}{\rho_{true}})^{2/3}}$$

$$L = \frac{r_{*}^{2}*T_{*}^{4}}{T_{sun}^{4}}$$

$$S = \frac{\frac{L*a}{r_p}}{(\frac{r_{earth}}{a_{earth}})^{2}}$$


"Life is a series of natural and spontaneous changes. Don't resist them - that only creates sorrow. Let reality be reality. Let things flow naturally forward in whatever way they like."

-Lao Tzu

Monday, July 13, 2015

Day 26 Banneker Institute

I was not able to calculate the eccentricity today, but I was able to calculate the limb darkening components $u_1$ and $u_2$. I did this by using the formulas shown below. These formula can be found in my adviser's paper, http://arxiv.org/abs/1308.0009v2.
$$u_1 = 2\sqrt{q_1}q_2$$ $$u_2 = \sqrt{q_1}(1 - 2q_2)$$


Limb darkening is the optical effect that is cause due to the amount of light receive from an object dependent on the distance that you are from the centre of the object, as shown above.

"Work hard for what you want because it won't come to you without a fight. You have to be strong and courageous and know that you can do anything you put your mind to. If somebody puts you down or criticizes you, just keep on believing in yourself and turn it into something positive."

-Leah LaBelle

Thursday, July 9, 2015

Day 24 Banneker Institute

Today I finish calculating the inclination of the planets, the temperature of the planets, the transit duration of the planets, and their respective $\frac{a}{R_*}$ values. The next step in the process is to compare this values to the values in the following published paper http://iopscience.iop.org/0004-637X/804/1/10/. After this is done I will calculate the eccentricity of the planets, finally!

"The only place success comes before work is in the dictionary."

-Vince Lombardi

Wednesday, July 8, 2015

Day 23 Banneker Institute

More complex mathematics was done today. I calculated the transit duration by using the following formula.$$t_{14} = \frac{P}{\pi}arsin(\frac{R_*}{a}\sqrt\frac{(1 + \frac{R_p}{R_*})^{2} - (\frac{a}{R_*}cosi)^{2}}{1 - cos^{2}i})$$
I also calculated the temperature of the planets by using the following formula.
$$T_p = T_*\sqrt\frac{R_*}{2a}$$

"It is difficult to understand the universe if you only study one planet."

-Miyamoto Musashi

Tuesday, July 7, 2015

Day 22 Banneker Institute

Today I manage to calculate $\frac{a}{R_*}$ which is the ratio of the semi major axis and the radius of the star. Because a >> $R_*$ this is a good approximation to obtain the distance beween the star and the planet. $$\frac{a}{R_*} = \frac{\rho_* G P_p^2}{3\pi}$$
I also calculated the inclination of each planet, by using the impact parameter b and $\frac{R_*}{a}$
$$i = \cos^{-1}(b\frac{R_*}{a})$$

"There is nothing outside of yourself that can ever enable you to get better, stronger, richer, quicker, or smarter. Everything is within. Everything exists. Seek nothing outside of yourself."

-Miyamoto Musashi

Monday, July 6, 2015

Day 21 Banneker Institute

I finish calculating the parameters with their uncertainty for all three planets. After using Multinest in Dr. Kipping's computer which runs a Markov Chain Monte Carlo(MCMC) program. Below are a few of the parameters that I obtained through this process. The numbers on the left are the parameter values, the ones in the middle are the lower bound uncertainty and the the last numbers are the upper bound uncertainty.

Radius ratio: planet over star

[0.035206658283169809, -0.0010722697357797295, 0.0018395676087651774]

Period of planet b

[10.05403551325956, -0.00024616330074600512, 0.00025023083783537459]

Mid-transit time of planet b

[2456813.4188600937, -0.0010220510885119438, 0.0010063056834042072]

"The world is a dangerous place to live; not because of the people who are evil, but because of the people who don't do anything about it."

-Albert Einstein

Friday, July 3, 2015

Day 20 Banneker Institute

I think this is a good time to review all of the progress that has been made in the last 4 weeks working on the planetary system K2-3. From the raw data to the separation of the planetary light curves, and the histograms of the most probable values for the parameters that describe this recently discover system. Below are a few examples of this plots.











"You can search throughout the entire universe for someone who is more deserving of your love and affection than you are yourself, and that person is not to be found anywhere. You yourself, as much as anybody in the entire universe deserve your love and affection."

-Buddha

Thursday, July 2, 2015

Day 19 Banneker Institute

Today not a lot of work was done on the project. The focus was mostly on the physics behind the rest of the parameters that I will have to calculate. Most of it is cover in the following paper http://arxiv.org/pdf/astro-ph/0206228.pdf. Dr. Kipping and I were specially looking at equation 3, and how we could used it to calculate the orbit distance divided by the stellar radius.

"Research is what I'm doing when I don't know what I'm doing."

-Wernher von Braun

Wednesday, July 1, 2015

Day 18 of Banneker Institute

With the histograms of the parameters, I was able to calculate the median value of each parameter and their uncertainty. The uncertainty is obtained by calculating +/- one sigma away from the median point. This can be illustrated by the diagram below, where μ on the x axis represent the median point.



"True knowledge exists in knowing that you know nothing."
 

-Socrates

Tuesday, June 30, 2015

Day 17 of Banneker Institute

I finish processing the data, and now I have the histograms of the final parameters. Below I am showing the histograms of the ratio of the radius of the planets and the host star. I also have histograms for the density of the star, the mid time of the transits, and the periods of the orbits.


"It is easy to hate and it is difficult to love. This is how the whole scheme of things works. All good things are difficult to achieve; and bad things are very easy to get."
 

-Confucius

Monday, June 29, 2015

Day 16 of Banneker Institute

After uploading the data files of the unfolded light curves of the planets. I started to run the software in my advisor's computer, Dr. David Kipping. Now I just need to wait until the data is analysed and then I can make histogram plots of the resulting parameters.

"The will to win, the desire to succeed, the urge to reach your full potential... these are the keys that will unlock the door to personal excellence."
 

-Confucius

Saturday, June 27, 2015

Day 15 of Banneker Institute

This post is a day behind, but I had to make sure that the data was properly analysed. Below are my new plots of the outlier points, and the three folded light curves of the individual planets.


"Discipline is the bridge between goals and accomplishment."
 

-Jim Rohn

Thursday, June 25, 2015

Day 14 of Banneker Institute

I recalculated the number of bad points, aka outliers, from my data by using the normal distribution function.


 Where w is the number of sigma needed to remove 1 - 1/3366 data points, where 3366 is the number of data points in my raw data. I also recalculated the error bar of my light curves, and created to text files for each individual planet that includes the time, the unfolded flux, and the error bar. The next step is to import this files and then run the program that will calculate the eccentricity of the planets.


“Science is a way of life. Science is a perspective. Science is the process that takes us from confusion to understanding in a manner that's precise, predictive and reliable - a transformation, for those lucky enough to experience it, that is empowering and emotional.”

-Brian Greene

Wednesday, June 24, 2015

Day 13 of Banneker Institute

Today was mainly on reviewing the statistics of the data as well as looking the program that I'll used to measure the eccentricity of the planets in my system. This is the beginning of the very unintuitive and difficult stage of the project, and most likely the longest.


“Do the difficult things while they are easy and do the great things while they are small. A journey of a thousand miles must begin with a single step.”

-Lao Tzu

Tuesday, June 23, 2015

Day 12 of Banneker Institute

Today I basically just try to improve the statistics involving my data. This includes the mathematics used to remove the outliers from my data, and the error bars on my data. I didn't get far but progress is not measure in big chunks.


“If there is no struggle, there is no progress.”

-Frederick Douglass

Monday, June 22, 2015

Day 11 of Banneker Institute

After a lot of hard work, I finally fix my Python code and separated the planetary light curves. The error was in the folding of the data without the outliers. Below are the plots of the original data without the outliers, and the light curves of each individual planet.




“Always seek out the seed of triumph in every adversity.” 

-Og Mandino

Saturday, June 20, 2015

Day 10 of Banneker Institute

Today I added a new tool to my arsenal, GitHub, IPython Notebook, and PyCharm. Now I just need to learn how to use them. Hopefully this will make me more productive in my scientific research. Science is an art form that requires many tools, a lot of creativity, and most of all passion.

“Passion is one great force that unleashes creativity, because if you're passionate about something, then you're more willing to take risks.”

-Yo-Yo Ma

Thursday, June 18, 2015

Day 9 of Banneker Institute

Zero progress made today. I need to figure out the way to tell my python program to separate the light curves of the individual planets. I am getting a very strange looking light curve, that resembles the probability pattern of light after passing through two tiny slits.



“If you get stuck, draw with a different pen. Change your tools; it may free your thinking.”
 
-Paul Arden

Wednesday, June 17, 2015

Day 8 of Banneker Institute

After realizing my error in my python code, I managed to fix it and properly identify the data points inside the transits and outside the transits. As shown in the following plot.

From this I was able to find the correct outliers. As you might have noticed the plot below looks a lot more like the original data, than the plot presented in my previous post. The data points are not all blended together, but are properly marked without changing their location. Now my next task is to separate the light curves of the individual planets.



"Patience and perseverance have a magical effect before which difficulties disappear and obstacles vanish."
 
-John Quincy Adams

Tuesday, June 16, 2015

Day 7 of Banneker Institute

Today after a long day of programming, I have realized that my code is faulty. Specifically the piece of code that makes a list of the in transit points and out of transit points. So the following plot is incorrect!!!


I noticed this error in my code after attempting to separate the planet's light curves and folding them. Luckily I noticed my mistake early, before having over 500 lines of Python code. My next task is to review my code for any other error, and figure out how to properly separate the planetary light curves.


"Life is a series of experiences, each one of which makes us bigger, even though sometimes it is hard to realize this. For the world was built to develop character, and we must learn that the setbacks and grieves which we endure help us in our marching onward."

-Henry Ford

Monday, June 15, 2015

Day 6 of Banneker Institute

After a week working on the planetary system EPIC 201367065, I have realized that data analysis and preparing the data so it can be studied, is an extremely difficult task, but a necessary one. I started with the normalized light curves of Planet b, c, and d.


This peculiar looking light curve was obtained by the Kepler 2 telescope, all of the individual light curves the planets are overlapping. To separate this light curves I used the technique named "Folding" a complicated conceptual method, with a simple mathematical equation.



time is the Julian Date
tmid is the time at the centre of the transit
P is the orbital period





 From this folded light curves I obtained the out of transit points and the points in transit for further analysis. With the out od transit points I removed the outliers.


This was a lot of work, but I learned a lot from all the struggles that I had to faced.

“Do not pray for an easy life, pray for the strength to endure a difficult one."

-Bruce Lee

Friday, June 12, 2015

Introduction Post

This post is meant for those that possess an unquenchable thirst for knowledge, like myself. I will be describing my journey as I attempt to understand how this universe that we are all part of works.

My main focus for the next few weeks will be on my current project, under the guidance of Dr. David Kipping, and the Banneker Institute. The aim is to calculate the eccentricity of the planetary system EPIC 201367065, the name is a work in progress. I will be describing my struggles and my achievements as I embark on this gargantuan task, and as I strive for excellence.

"We are what we repeatedly do. Excellence, then, is not an act, but a habit."

-Aristotle