29th March 2009

Burp

When I fold my t-shirts, I hold them by the corners of the shoulders and make a snap-and-fold motion, folding them lengthwise in a single movement. I do this with the ease of long practice, even though I have never consciously noted this action before.

This is the sort of nonsense that would end up on my Twitter feed, if I had one. You guys should feel lucky I don’t.

posted by saurabh in A Series of Tubes, Bloorging under the influence, We're Doomed! | 4 Comments

26th March 2009

Burning down the house

J. Schwarz over at A Tiny Revolution points us to a 1999 New York Times article on the repeal of a portion of the Glass-Steagall Act of 1933, by the Gramm-Leach-Bliley Act, specifically the portion that prevents banks from offering both savings and investment services. For those more cognizant than I this is probably old hat; you others playing catch-up, like me, might want to read this article by former World Bank economist and Nobel Prize winner Joseph Stiglitz, where he attributes the current mess to five pieces, including the passage of the Gramm-Leach-Bliley act, legalizing maneuvers and consolidation between banks and investment houses that had already occurred (illegally), such as the merger of Travelers Group and Citibank to make Citigroup:

The most important consequence of the repeal of Glass-Steagall was indirect—it lay in the way repeal changed an entire culture. Commercial banks are not supposed to be high-risk ventures; they are supposed to manage other people’s money very conservatively. It is with this understanding that the government agrees to pick up the tab should they fail. Investment banks, on the other hand, have traditionally managed rich people’s money—people who can take bigger risks in order to get bigger returns. When repeal of Glass-Steagall brought investment and commercial banks together, the investment-bank culture came out on top. There was a demand for the kind of high returns that could be obtained only through high leverage and big risktaking.

Of course, once you’ve let the bull out of the paddock, it’s not going to come back in willingly…

UPDATE: See also this excellent Matt Taibbi article documenting this mess with AIG as a case-study.

posted by saurabh in Echo-gnomics, Galloping idiocy | 1 Comment

20th March 2009

Huh

Famed internet gadfly and comment-thread contrarian abb1* has been running a weblog for quite some time, now. What else am I missing out on? Post links here, nonexistent readership!


* Whose name I have always surmised is an abbreviation for ‘anarchist black block’.

posted by saurabh in Bloorg | 1 Comment

20th March 2009

Quote of the day

“The man who never alters his opinion is like standing water, & breeds reptiles of the mind.” — William Blake

posted by saurabh in Navel-gazing | 0 Comments

6th March 2009

Blue Sky on Mars

One of my favorite conspiracy theories is that NASA is deliberately false-coloring images so that Mars appears to have a red sky, to cover up the fact that it’s actually blue there. I’m not exactly sure why NASA would be doing this, but I’ll admit I’ve been disappointed by the color of the sky (and the ground) in Mars photos, so I’m on board! Let’s deconvolve:

First, for the uninitiated, our a priori expectation should be a blue sky. The sky everywhere should be blue, because the color of the sky is the product of Rayleigh scattering - which is basically to say, the atmosphere tends to scatter higher-frequency light more than it scatters lower-frequency light. If you look up at any random part of the sky that isn’t the sun, the light you’re seeing is light that has scattered off some part of the atmosphere in that direction; in space, that light would have gone straight to its target, and you would see no light coming from that direction. Since the atmosphere scatters violet light more than red light, this, combined with our human visual system’s spectral bias (weak in the blue end of the spectrum), results in our seeing the sky as blue. This simple phenomenon should apply equally well to all atmospheres.

So it’s a bit glum when we’re told that Mars has a red sky - red because it’s full of thick, choking dust. Well, poop. But maybe it’s not so! Maybe NASA is attempting to pull the dust over our eyes, and Mars is really true-blue. Fortunately, we can verify for ourselves. NASA puts up “raw” JPEGs of all the data the rovers send back. The relevant images are the “PANCAM” ones, which apply a series of fairly narrow bandpass filters before the CCD capture (that is, each filter captures an image of the scene at a specific wavelength of light).

The NASA “true color” images are generated by the PANCAM group at Cornell; their methodology is quite rigorous. The naive method (employed by most conspiracy theorists, notably Keith Laney) is simply to use the three filters that closest approximate the human visual peaks - 600, 530 and 480 nm, for Red, Green and Blue - and slap them together with Ye Olde Photoshop (or in my case, Perl) to make a full-color image. This produces very satisfying images. Check it out!

However, this method has a flaw: the human visual system is additive, meaning that single-wavelengths don’t give the whole picture - each color opsin in your eye is stimulated by the whole spectrum, meaning that what you see as “red” might actually be an amalagam of two individually non-red peaks.*

Unfortunately, we don’t have data from the whole spectrum available to us - we only have eight wavelengths, six of them in the visual range. PANCAM takes this data and fits a third-order polynomial to it to generate an approximation of the true spectrum. This spectral data is then converted into the XYZ color space (a standard color space) by convolving it with the XYZ standard observer functions that (more or less) define the primary colors of that space. Those XYZ values are then mapped to the familiar sRGB space and slapped together to produce a “true color” image. The result, side by side with the “naive” method:

Egad! There’s a world of difference there. So who’s got it right? Hard to tell… unfortunately PANCAM doesn’t have any pictures of the color calibration target that sits on top of the rovers posted in their collection of true color images, so it’s difficult to be sure. However, the average spectra values in the data for the above image for the sky (blue line) vs. the ground (red line) look like so:

This seems to suggest there’s something off about the PANCAM results - the sky should be white-tending-to-blue, and the ground should be red. Of course, it’s possible our visual system is so heavily red-skewed that we’d still see the spectrum on the left as reddish, but I’m inclined to disbelieve it could see the deep, dusty red shown in the PANCAM image. It seems more likely the reconstruction method is flawed somewhere. Furthermore, the naive method should be pretty good at telling us the color of the sky, since the sky color is composed of all wavelengths in varying intensities (which may not be true of rocks on the ground, meaning those colors are more likely to be wrong in the naive method). I’m staying aboard this conspiracy ship!


* Leading me to wonder if we will, one day, encounter a fully spectrographic visual system - one that sees spectra instead of colors. You’d recognize the chemical composition of everything!

Sloth prevents me from recapitulating their method - all the necessary data is linked from here, if you feel inclined to do it for yourself.

posted by saurabh in Graphs, Mars, Science!, Starry-eyed | 10 Comments

  • Blogroll