Friday, July 15, 2011

Great end to the week


Recap of this week:

-Calculated the radial velocities of the WDs in the first sample of dM+WD binaries
-Calculated system velocity of these binaries, and made sure that it was reasonable (after going back and being a little more stringent on my boundaries for signal-to-noise ratios and velocity limits, sigma ends up being a little less than 20 km/s)

-Applied this code to new sample of binaries from Dylan. I now have a file that has plate, mjd, fiber, dM rv, WD rv, system v, # expos, sig-to-noise and time (days/hours/min/sec).

Excited to go through the sample and have a closer look at some interesting pairs, especially considering that this sample has a much higher average number of exposures for each pair. I'd especially like to analyze some very fast binaries and plot out their radial velocities to see if we can get an idea of their orbits.

I started going through the data at the end of the day. Things I looked for: lots of exposures, good quality spectra (higher stns), relatively okay sounding velocities. I then plotted some up just for fun. Here's an example:






I wish I had more time in the day (have to catch a train in an hour), but really excited about continuing with this. What a wonderful way to end the week!

While I was waiting for the sample to run, I was reading Astrobites and and saw this quote by Ed Salpeter about finding the type of research that fits you best:

"For my scientific temperament I needed a field that was more controversial, more open-ended and new, where quick was useful and sloppy did not matter too much because it would all change soon anyway"

I think this is a really nice quote. One of the major reasons I was drawn to astronomy is that sense of urgency behind it all; right now we're at the time where our technology and scientific methods are catching up to each other, and that's extremely exciting place to be. It was nice to read this quote and see that sentiment reflected in someone who has experienced so much in astronomy.



All in all, a great way to end the week.

Thursday, July 14, 2011

It's been a slightly upsetting afternoon. I've been working on applying my code to Dylan's new sample of binaries, but I keep running into issues. I carefully mimicked my previous code in order to avoid obvious errors (i.e. different file names, etc.) but I've having some more serious issues, such as reading some of my fits files. Dylan had to go through my mrdfits.pro program yesterday in order to update it - hopefully this isn't the source of my problems, but it is something I have to more closely investigate. I also just feel like I'm not moving through this as efficiently as I should be. I was hoping to get this done by early afternoon so I could move onto looking at interesting objects (i.e. fast binaries), but it looks like I will spend the rest of the afternoon debugging. Ah well.

Wednesday, July 13, 2011

After toying around with my histogram a little bit more, I went ahead and calculated sigma. Assuming that it was (relatively) gaussian, I was able to use the FWHM in order to calculate sigma. FWHM roughly equals 2.356 sigma, giving me a sigma of roughly 10.187. Which is reasonable!

Tuesday, July 12, 2011

I've spent the entire day working on this histogram. It looked pretty funky at first, with a lot of outliers. I've designed it so that I can easily put in different constraints. At the moment, I've been getting rid of spectra that have a signal-to-noise ratio that is smaller than 10, and if either the velocity of the white dwarf or M dwarf is above an absolute value of 600 km/s (also another indicator of crappy data). So far it has been kind of frustrating. Hopefully by the end of the day, my histogram will look a little better.

Monday, July 11, 2011

on to system velocities

After calculating my WD radial velocities, I moved on to calculating the system velocities of each of the binaries. The values seemed to range from reasonable for some of the binaries, to super weird for others. I compared my values to the ones that Dylan worked with, and some of them seem to be an average of the system velocities for the multiple exposures. In order to better gauge my error, I'm going to make a histogram of the differences of the system velocities between each exposure.

Friday, July 8, 2011

velocity shifts calculated for WDs!

Rather than using the system velocity that Dylan has already calculated, I instead applied the velocity shift calculation that I used for the M dwarfs to the white dwarfs in the binaries.

When I first approached this, I said to myself "This will be easy! I already did this for the M dwarfs." But reading in a different type of spectra file, and dealing with my bazillion indices in order for everything to align properly, along with formatting everything into a neat table caused it to ta
ke the better part of the day. It also took me a little to get back into the coding mindset -- but considering I was away for a couple of weeks, it was pretty easy getting back to it.

Applying my code to the WDs also got me prepared to apply it to new samples that Dylan will have for me shortly.



Here is a sample of the shift calculation
using the same binary as the one previously posted. The shift isn't as accurate as for the M dwarf, but this might just be on account of the accuracy of the WDs in general.








Goal for next week: Calculate the system's velocity. Hopefully I will have it in time for group meetings.

It feels so good to be back in the lab!


back to work!

After a wonderful holiday, it's time to get back to the lab! Things to do today:

-read back over orbital velocity calculation steps
-calculate orbital velocity!

It's been a while since I've looked at code. Hopefully all will go well.