Saturday, December 31, 2016

DSLR Astrophotography - a summary of my early explorations

Thanks - First, a big thank you to Dan Waber, who generously lent me all of the equipment mentioned in this post. 

click all images to enlarge

Why astrophotography? I had expressed interest in landscape photography for the purposes of creating large prints to hang in my new house and when he and his wife dropped by to visit, he let me borrow his gear to see if it was worth the investment. Astrophotography was not the initial goal but I when I traveled to the deep rural midwest US it kindled my early childhood interest in astronomy and I thought it would be fun to attempt some photos of the stars.

The gear - The set up is quite "basic" as far as modern DLSR photography is concerned. It's a camera, lens, wireless remote, 2gb SD card, and tripod. 

Camera: Nikon D50 
2gb SD card - Synergy brand recommended for the Nikon D50, see note below.
Tripod: Bower ST-3100 (discontinued, but this is a similar model - 59", collapsible) 

the setup
The process (glossed over) - Ideally it should be a clear, cold, moonless night in a place that is as far away from city lights as possible. Use a wide-angle lens at its widest f-stop (f/smallest number) and make sure that a bright star is in focus. Capture the images in RAW format. Your camera should be on a tripod and you should use the clicker for your exposures.  (There are quite a few of them, outlined below.) After you take the photos, then use software to process them and bammo!  You have gorgeous images of stars!

9 exposures of Orion, 20 seconds each with f/5.6 at iso 800
The Process (details) 
Since the Nikon D50 was sold June '05-Nov '06 it is somewhat difficult to focus on the stars (I had to do it manually, whereas most modern cameras will do this automatically or make it much, much easier to do it manually).  Everything else is relatively straightforward. 

Set the f-stop to f/smallest number and make sure your iso is set between 400 to 1600. Your exposure time should be between 10 and 30 seconds. You'll have to take about 10-30 exposures of what you're aiming to actually photograph. Make sure that you keep your settings the same for these (same f-stop, same iso, same exposure time). After that, you'll need an additional 10-30 of "dark frames, dark flat frames, and bias frames" which you'll use in photo processing. 

Read the descriptions here: "Light, Dark, Flat, Bias... What are they and how to create them?" for full details about why each of these steps are important. Summary: the "light" frames are the stars themselves. The "dark frames" use the identical settings as the light frames, however you take them with the lens cap on. This is because your camera will pick up random noise and have its own internal noise so the "dark frames" will be subtracted in processing. Next up are the "bias frames" which are taken with the shortest possible exposure time (1/3,200 of a second for instance) to capture the signal your camera makes when it takes a photo. Then the "flat frames" are taken with a white cloth over your lens to correct for any dust or smudges on the lens. 

Load your images into deepskystacker (free) via the menu on the left according to the kind of images they are (light (picture), dark, flat, etc.), click "check all", then click "register" and it will do the rest after you click "Ok".

The resulting image will be in .tif format. Open it in a photo-editing program (I use PhotoFiltre7 which is free) and play with the levels. 


You can also experiment with levels and sharpening and reinforcing. 
The final result! 
17 exposures 15 seconds each, focal length 18 mm f/3.5, iso 400. Also 7 dark frames, 17 bias frames 1/3,200 second each. 
Compare with a single exposure. :)

Learning about cameras and astronomy and photo editing has been a fun experience. If you have the gear, give it a try!

Sunday, October 30, 2016

American Politics - why Bernie will be right to push back against President Hillary Clinton's eventual right wing agenda actions.

This video is 13 minutes long.  

  • It summarizes the thinking at the center of principled progressiveness and 
  • contains valuable insight into how to accomplish goals in American politics. 

Below are some key talking points from the video.
The article from the Washington Post which is quoted below is here.



"Sen. Bernie Sanders, a loyal soldier for Hillary Clinton since he conceded the Democratic presidential nomination in July, plans to push liberal legislation with like-minded senators with or without Clinton’s support if she is elected — and to aggressively oppose appointments that do not pass muster with the party’s left wing."


0:43
All Democrats in power do is cave in to pressure from the right, they're not used to pressure from the left. 

Talking points from Hillary's administration upon receiving pushback to her right wing appointments and decisions:

  • I can't believe he's trying to rain in on the parade of the FIRST FEMALE PRESIDENT, no respect here!
  • You didn't win, she won, shush - don't do it!
  • You have to support your Democratic President!
  • How do you expect Her to get anything done if you don't bow your head and take everything she says as gospel?


1:21
Democrats in office don't want pressure from the left, they want to put in corporatists.  

"In an interview, Sanders said he and other senators have started plotting legislation that would achieve many of the proposals that fueled his insurgent run for president, including 
* a $15 federal minimum wage, 
* tuition-free public college, 
* an end to “mass incarceration” and 
* aggressive steps to fight climate change."

Note how this is framed as "plotting" by the Washington Post. Yes, Bernie is "plotting" to do good things for Americans. The language is subtle, but nontrivial.

"The senators, Sanders said, also plan to push for the breakup of “too big to fail” banks and to pressure Clinton to appoint liberals to key Cabinet positions, including treasury secretary. Sanders said he would not stay silent if Clinton nominated the “same old, same old Wall Street guys” to regulatory positions that are important in enacting and overseeing the financial policies he supports."

2:38
What does this do? It makes the corporate Democratic party members think twice. They don't want to do that. 

Example: Michael Froman, President and Chief Executive Officer of CitiInsurance and head of Emerging Markets Strategy at Citigroup, managing infrastructure and sustainable development investments, gave Obama a list of people to put into his cabinet. Note that CitiGroup was one of the big banks that crashed the economy in 2008. Why was this allowed? No progressive pressure to push back... (The Republicans on the right were ok with this, by the way, there was no opposition from them.)

3:28 Treasurary Secretary choices for Obama from CitiGroup (Michael Froman)


  1. Robert Rubin - board memeber of CitiGroup, used to run Goldman Sachs. Pushes policy that deregulates banks. 
  2. Larry Summers - Wants to deregulate big banks and wanted to repeal Glass-Steagall. (these were decisions which led to the collapse of the economy in 2008).
  3. Tim Geithner - (Eventual Treasure Secretary). This is the guy who said "Yup, let's take taxpayer dollars, enormous volumes of taxpayer dollars... and bail out the banks." 

* Note that the 4 of the 6 banks that were "too big to fail" are now BIGGER than they were before.

Obama said "ok, Number 3 it is."

4:00
If you try to go against anything Obama says, the left will eat you alive. "How DARE you! You need to support Obama in all of his decisions." Meanwhile, the right is giving him lists of people to appoint and Obama goes along with it.

4:26
Hillary's White House will cry about opposition to her right wing appointments. The minute she wins she will turn and say "Thank you Bernie, now go away, you have no power here." 

4:40 - This is especially important.
BUT YOU (and me, us, the people) DO HAVE POWER! Don't give up that power. The ideas and principles of Bernie won 22 states, 13.4 million votes, and ~46% of the Democratic vote in the primary including the vast majority of the YOUNG people of the country. This is nontrivial. This is not 1% of a vote or something weak like that. The policy platform of the Democratic is the most progressive it has ever been, and Bernie wants to use the leverage he gained in the primary to push that agenda!

We need to take part and not roll over when all the media starts crying about opposition from the left to Hillary's Right-Wing agenda. (pushing war, pushing fracking, allowing Dakota Access Pipeline, letting bankers put people in government who want to deregulate banks so that 2008 can happen all over again, etc.)

5:42
Power used to deliver to the American people is exactly what a politician is supposed to do! "You gave me the power with your votes, I will use that power on your behalf."

Team Hillary says "I intend to advance our shared progressive agenda" a few hours later "We have put forward ideas for the first 100 days that Republicans will agree upon."

7:23 - First 100 days of President Hillary's term. 
Republicans will block everything she tries to do (most notably Supreme Court nominees). So Hillary will go for corporate tax cuts ("tax reform", e.g. "tax breaks for millionaires and billionaires") because this is what all of the right and a good chunk of the Democratic parties want. She can then claim victory and "getting things done".  At this time Bernie, Warren, Brown, et.al. will fight back and we need to support them.
Does anyone expect Hillary to stand up to the Republicans and say "No, this is the Democratic party platform now, this is the agenda we are going to fight for..." (of course not). 

8:19
“The Democratic Party, before they start compromising, has got to rally the American people around our ideas and make it clear that if Republicans do not go along with reasonable ideas to benefit the middle class and the working class, they are going to pay a very heavy political price.” - Bernie

Does anyone expect President Hillary Clinton to rally or inspire the American people toward progressive causes, especially those which go against the wishes of her donors?

8:42 - The way to get Republicans to work with you... (how politics does not work)


  • NOT to ask them "pretty please" 
  • NOT to simply agree with their ideas (why bother electing Democrats then?)
  • They don't care how nicely you ask or if you go golfing with them, etc.
  • You will not have a beer with Mitch McConnell and he will all of a sudden say "Oh yeah, you're right, raising the minimum wage is a good idea, even though my donors don't want to do it because they would lose some profit." 

That is NOT how politics works.

9:34 - How Politics Actually Works

  • Take the ideas to the American People: 

"These guys in power are preventing you from getting a living wage. You're working your [butt] off. I want to give you $15/hr. They want to give you $7.25/hr."

10:17
Maybe Americans earning an hourly wage don't want higher wages?

"Nah, you guys keep all the money, what do I need it for? You keep your billions, I'm doing ok." 

But the only way to find out is to take the ideas to the American People. 

10:40 - Why do people love Sanders so much?
Sanders is right on POLICY.
Sanders is right on METHODS for achieving policy goals.

He's not about backroom dealing. He wants to take the ideas to the American people.

10:54
One of the treasury secretary positions is Sheryl Sandberg. She's 2nd in command at Facebook. Silicone Valley has given enormous amounts of money to Hillary, including Sheryl. Sheryl is *not* a bad person - but she is not the best choice for treasury secretary.

“I personally believe that a billionaire corporate executive is frankly not the kind of person that working families want to see as secretary of treasury,” Sanders said. “We need somebody who has a history of standing up to Wall Street and is prepared to take on the financial interests whose greed and illegal behavior has done so much harm.”

“I expect her to appoint people who will head agencies in a way that is consistent with the Democratic Party platform, and if not, I will do my best to oppose those nominees,” - Bernie Sanders

12:43
Hillary was OUTRAGED that anyone said she is not a progressive. Well, if she is truly that, no problem she will have all the support in the world from the left to push that progressive agenda which is on the Democratic Party Platform.

Summary:

  • It's not about "I'm with *her*" or "I'm with *him*" - it's about your actions. 
  • If elected Democrats want to be progressives, no need to fight. 
  • If elected Democrats want to be neoliberal corporatists, then they will receive opposition from the left, as they should. 



















Wednesday, August 27, 2014

Reformatting an infographic about diseases and donations

This infographic seems to be making the rounds. It seems relevant, given how much attention is being given to ALS with the "ice bucket challenge".

http://www.iflscience.com/health-and-medicine/infographic-shows-differences-between-diseases-we-donate-and-diseases-kill-us



Assuming all of the data is accurate and up to date and adjusted to inflation, etc. here is a quick table showing the dollars raised per death. Note that according to the data in this infographic Prostate Cancer receives the most dollars per death (Just shy of $7,000), even more than Breast Cancer. Chronic Obstructive Pulmonary Disease and Heart Disease combined (again, according to the data in this chart) kills 739,519 however each disease received ~ $49 and $91per person killed, respectively.  Of course, perhaps they are both very well funded and do not "need" donations as much as the other diseases.

Long story short - if the story is in infographic form... it is probably not well presented. 


EDIT -- Note that many others had similar thoughts and redesigned this infographic.


Some from that thread requested a chart.  See below. 
Click to enlarge

Tuesday, July 22, 2014

Email to a student who is going to college in the fall

Time management is difficult in the age of the internet.  

Choose one hour of one day sometime in the next week to turn off all devices - phone, tablet, laptop, desktop, gaming system, radio, mp3 player, etc.. everything.

On paper write out what you want to do with your schedule. If you know your college course load then that's great! Plan 1 hr of study time for every time you are in a class or lab each day. (e.g. if you have 3 classes on Monday, plan for 3 hours of study time, minimum. If you have 4 classes Tuesday, plan for 4 hours of study time, minimum, etc... proceed like that for your entire week.) When planning, make sure to eat and wake/sleep consistently, at least during the week. Try to plan in one hour of physical activity (even if it's walking at a brisk pace) each day. Make sure to give your mind and body time to relax as well -- a few hours each week to just do nothing or to relax and unwind doing a sport or activity you find enjoyable (music, athletics, etc.).  Block out how all of that time will fit into your schedule on paper. You'll find that your schedule will rather quickly be filled in.

Now that you have a schedule sticking to it is the hardest part.

It requires turning off all those devices while studying and in class.

Your brain works best when you are 100% focused on the task at hand.  You're naturally smart enough to be above most students even when your brain is at, say 80% or 70% focused, but there is a "wall" that you will reach at some point which will require you to be able to put forth close to 100% focus to succeed (undergrad or graduate studies or advancing beyond a certain point in your career, etc.).  It is easier to develop that habit of 100% focus now than 4 or 5 or 10 years from now. :)

If you can make and keep a schedule you will basically be super(wo)man compared to your peers.

They'll be panicking and cramming before exams, and you'll have it all under control. They'll be rushing to finish a lab report or HW set, and you'll have it already done or need only one or two hours where they will need the entirety of that beautiful Sunday afternoon to finish it.

Monday, June 23, 2014

Books about the history of physics

Books about the history of physics.

Watching Cosmos (2014) has rekindled my interest in physics and the history of physics.

Understanding Physics by Isaac Asimov

The Evolution of Physics by Einstein & Infeld

Six Easy Pieces and Six Not So Easy Pieces by Richard Feynman, also the complete Feynman Lectures on Physics are available online, as are his messenger lectures.


Visual Proofs



Sometimes, a visual proof is more helpful than pages of computations. Here are two interesting math concepts which you might find interesting.

1. "Dual" of polyhedra -- basically take a solid like a cube, find the midpoint of each edge, and rotate each edge about the midpoint until it connects with the other sides. Those two shapes are "dual". http://hyrodium.tumblr.com/post/76098308148/dual-polyhedrons

2. The "Sum of squares" 1 + 2 + 4 + 9 + 16 + ... has an elegant representation. Just think about stacking blocks and count up how many blocks are in the solid rectangle when you're done:
Proof 1 - fantastic animation! (source) Here is a Non animated 2d proof.


Linkdump from today's explorations

Investement simulator
http://www.cfiresim.com/input.php?id=89449

From this thread