Saturday, July 30, 2011

Seeing Violet

Last month I got into a pointlessly circular -- what other kind are there I guess, eh? -- online "discussion" about how one sees the spectral color violet: Since it is out there beyond blue, what sort of sensory signals are we interpreting in order to believe that we see a distinctive color? The "discussion" became so circular that I began to think that I had actually never seen real violet, and sans spectrometer or even a diffraction grating it may be that I will never know.

Subsequent to the referencing of a Nature paper as evidence of something or other about the actual spectral sensitivities of human retinal cones, the "discussion" made a small side-trip into my standard whinge about the wall of pay-for-play scientific journalism. I did finally extort the referenced paper, and a few others, from someone-with-access and found that none of them answered any of the questions very well. As usual. But worse they don't seem to agree amongst themselves.

The problem is that spectral-violet -- which I am going to somewhat arbitrarily define as a "color" with a wavelength below 400nm -- falls outside of the gamut of all common color reproduction methods so it cannot be viewed on a screen or in print. To exacerbate the issue, the non-spectral purples and magentas are often confused with violet, even in nomenclature, such that folks often say, "Sure, violet is blue with a bit of red in it."

To start with I went off looking for a good plot of the spectral response of the cones of the human retina. The obvious one was from the wiki Color Vision page:
 (note: I replaced the missing wiki image 7/28/13...)

But it has a linear vertical scale AND the levels are normalized such that one cannot judge relative sensitivity. It also uses the scientifically accurate but completely confusing labeling: S,M,L for Short, Medium, and Long wavelength rather than just coming out and saying Blue, Green, and Red like anyone talking about it would. It does show the more-or-less center points of the sensitivities to be around:
  • blue(S) 440 nm
  • green(M) 540 nm
  • red(L) 570 nm
Since what I'm interested in is the response right at the origin of that graph I need more detail in the tails. So I found some -- actually a lot of -- log plots at the Color and Vision Research Laboratory at University College London:


Unfortunately most of these are also normalized, and also seem to have had some CIE post-processing applied -- if one can make sense out of the accompanying information. But at the bottom of the list there are a couple that look like they aren't normalized, e.g., the Smith & Pokorny (1975) (also subject to post-processing per the notes, but may be good enough for me):

Modulo the journal accessibility problem, I did make a number of passes at finding actual papers that might be the source for this data. I found two by Stockman, etal (one for the M&L cones (1993) and another for the S cones (1999) but I'm not sure how to match-up the vertical scales). And an earlier one by Wald (1964)  that has all three in one plot but has the sensitivities and curve shapes jumbled up compared to every other example (get back to me if you make sense of any of it, ok?):


Then I moved on to color reproduction starting at the wiki CIE 1931 color space page which (attempts to) explain those lovely "color tongue" diagrams on which one can plot various primary sets to indicate the relative gamuts. This one shows the "CIE RGB primaries" forming the lower triangle which are at:
  • blue 435.8 nm
  • green 546.1 nm
  • red 700 nm 
I have also taken the liberty of marking the position of the SML cone center sensitivities on this in white for reference. Interesting to note that the nominal red sensor is actually more like yellow in our scheme of things:

For comparison, here's wiki's sRGB space which is around-and-about what one can display on a computer screen:

Note that the colors on all these images are fake, since anything outside of the marked triangles cannot be imitated by mixing the apex colors.  Also notice that spectral-violet falls off the bottom of the tongue at the lower left corner, and can only be reproduced using an emitter of less than 400nm light. Which no one has.

The next thing that occurred to me is: "How do we distinguish all those blue-greens at the top of the tongue if our green sensor is so far down the curve?"

I think the answer to that is in looking at the relative responses of each cone when exposed to the spectral stimulus, compared to an attempted "synthesizing" stimulus. In this diagram I have marked 520nm (from the tip of the tongue) as the target and indicated the peak sensitivities of each cone in the relevant color:


By comparing the ratios of "activations" between the 520 line and the combination of 440 and 540 lines, I think we can see that the RED signal ratio may be much higher for a synthesized color. This will tend to de-saturate the reproduced color as compared to its spectral "equivalent", so reproduced colors will be "pulled" in to the center of the triangle.  But through the offices of the gradual fall off in response of the red and green cones, spectral colors will invoke a uniquely distinguishable response.

Given the above, it then appears that spectral-violet is formed by an identical, low, response from each cone, as compared to the actual blue stimulus further to the right in the spectrum.

So that's my story to which I stick until I find someone who can explain it to me.

Wednesday, July 27, 2011

Talk to the -- Moving -- Hand

More progress. All the bits move. Amazing, no?

Still need to make a stand and mount the arm motor so it can swing up and down...And of course the control electronics...I'm also going to need a full-on arc welder power supply to run the finger solenoids, but can reuse it in other projects after I find a place to store this one.

Saturday, July 23, 2011

A Modest Proposal, II

Now that chatroulette seems to have run it's course I think it's time to update the paradigm a bit. I propose cliqueRoulette at, of course, cliqueroulette.com...

It would do much the same thing, pseudo-randomly connecting folks to one-another while allowing them to accept or reject the connections. However the great advance would be to make it more like High School by adding user defined tags, or cliques, which one can use to filter the connections. Each user would have a score for each clique that they have accessed. The score would be based on how long you remain connected to other members of the clique. While connected one can communicate until a Goodbye is sent, thus tacitly accepting the opposite member, or hit the Reject button and move on. The time to the Goodbye would add to your score and a Reject, when sent unilaterally, would subtract. Members with higher scores would be preferentially connected to each other, but some randomness would allow interlopers to intercede and perhaps gain traction. Higher scores might also translate into less advertising, faster connections, or some other more tangible rewards.

As an example, let's say there's a "boobs" clique. By playing nice you could increase your score thus making it more likely that you will score. The idea may need to be extended to allow for sub-classes like Producers, Consumers, Lurkers, Muttonheads, and etc...But you get the idea and can probably take over the implementation from here.

Send me a link when it's working.

Thursday, July 21, 2011

Another Not Nopera!

Last night, through the offices of a couple friends with a spare ticket, I was able to take in the Santa Fe Opera's Vivaldi/Sellar's Griselda, including of course, the usual sushi-pre-tailgate extravaganza. Half of the fine seats in the mid-balcony where we were sitting were empty, possibly due to this opening night review published in our daily local news-rag:  Premiere of Vivaldi Opera Misfires.

.... OK? Back? ....

It is my personal belief -- knowing basically-jack-all about opera but something about theater -- that the reviewer either saw an off-night or is off himself. There are kernels of truth in many of his quibbles so I tend to believe the latter. But I would reverse just about every one of his opinions:

  • The singing -- although a bit variable -- was quite fine throughout. I thought the King and Queen took a while to warm up but came though in the end. Amanda Majeski's Ottone was not "shrill" but the hit of the show. To extend an olive branch, I agree -- and double down -- that Isabel Leonard's Costanza was fabulous.
  • The music was balanced and easy to listen to -- one could make a case for the entire 101 Strings catalog being simply the working out of Baroque permutations.  The guest appearance of two French horns towards the end of the first act was a pleasing counterpoint to all the strings'n'things.
  • The costumes -- perhaps a bit over-the-top, but hey dude, it's OPERA -- worked well to distinguish the characters' personalities. Griselda's native blanket brought her down to S.Fe earth from her royal loftiness and Costanza's quinceaƱera dress played well to her child-bride innocence. That dress was well used by the lighting in a number of cases -- did anyone notice that her back-lit shadow looked like a Pawn shuttling around the Kings and Queens? If anything, the Southwest references were quite honorable "Coals to Newcastle".
  • The lighting was dramatic and -- usually -- well paced and placed. There were points I would have tweaked, say a tiny bit of fill when the characters were kept in the dark of their own thoughts, a widening of a spot here and there to hold focus, or some blocking changes to backup the drama. But it worked. Sometimes fantastically.
  • The set comprised a green floor, one -- bumped up to two for the penultimate Who Wants to Marry a Millionaire scene -- movable chair, and two secret service goons who provided all the backdrop one really needed. So I found the actual Gronk backdrop -- a mashup of Dali, Miro, Grotz, Rousseau, and some miscellaneous household objects -- to be superfluous. Perhaps the director was trying to emulate Merce Cunningham Style but missed the point that the individual ostensibly un-related elements need to be intrinsically interesting in and of themselves?
  • The staging. Well, given the minimalist setting, the staging did somewhat over-rely on the flooring. Which is actually fine if you are in the balcony, but maybe those lucky souls in the orchestra seats couldn't always see the cast "rolling about" upon it?  It is also my humble opinion that Sellars tends to bludgeon the dramatic bits somewhat more heavily than necessary. E.g., the final lights-out on re-Queened Griselda still sweeping the floor just seemed out of place.

Which brings me to the N.Mex'ans central complaint: "When opera people argue about whether directors have gone too far...", Baroque opera should be their touch-stone.  It was Experimental Musical Theater. This one in particular may have been the first to employ both a composer and a librettist. Performances were melded from bits and pieces to fit the capabilities and preferences of those involved. Nothing was Set-in-Stone.

Now, of course, it Should-Never-Be-Turned. When funding for The Arts is divied up it's always the Symphony and the Opera, and maybe Shakespeare in the Park, that get the big bucks. But they are not The Arts. They are History. The Arts are a living, growing, groping, thing. Thus I feel impelled to applaud Peter Sellars and the Santa Fe Opera for busting out of the envelope.

Sunday, July 17, 2011

Las Conches Endgame?

Here's what it looked like from my place on the evening of July 15:


The plume, at the southern end of the fire in the map below, is about due west and Los Alamos is just off the right edge of the photo -- which may give some idea of scale and relative position. Also, for scale, the burned area in this map is about 230 square miles....

I think much of the smoke we've seen since Friday is from back-burns meeting up with the real fire. On Monday S.Fe county is sending one of Hondo's brush trucks with a "foreign" (not of Hondo) crew up to help with mopup.

Wednesday, July 13, 2011

Local Color I

July 13, 2011 -- The Santa Fe Police Department is investigating the following reports:

• Alma Patricia Villegas-Rodriguez, 38, 6251 Airport Road, was arrested Tuesday at Super 8 Motel, 3425 Cerrillos Road, and charged with disorderly conduct. Witnesses said Villegas-Rodriguez was angry, and was kicking and yelling at a plastic bag in the parking lot.

Monday, July 11, 2011

Talk to the Hand

Some more progress on Mr. Hand. Got a finger to move under its own power, sorta. But have to wait for materials from far flung parts of the USofA in order to figure out the wrist motion before I can complete the assembly and discover that it isn't going to actually work right.


Sunday, July 10, 2011

Pie in the Sky

Ended up on the wrong end of a coconut creme pie at a birthday party yesterday:

But not as bad as Bill Gates:
And a better outcome too:

Friday, July 8, 2011

Not Nopera

Went to see Faust at the S.Fe Opera on Weds night. Did the sushi-tailgate thing aforehand, and then carried through with actually going to the performance rather than No-pera-ing it. They pulled out most of the stops on this one and even included the "ballet" section at the end which was originally added because the French had to have dancing girls somewhere in any show they attended. This made the whole thing last over three (3!) hours which was about an hour too long for the boy-meets-devil-meets-girl-loses-everything story. But fun anyway.

One interesting bit in the staging makes me wonder exactly who is tweaking whom. In the Marguerite-goes-to-church scene, Mephistopheles is the priest playing the organ. She takes her baby into the confessional and ole-Meph sets up in the ajoining compartment. He slowly creeps through the screen between the sections and pulls the baby out of her arms. Then the entire congregation turns out to be wearing red demon masks. It's incredibly creepy good... But... Is this little bit of stage-craft specified in the original or left to the reader? It basically sets up the Catholic Church as the Great Satan. If it is original I would more expect it from the Protestant Germans, not the Catholic French. If it's Santa Fe's Own, then maybe the local catholic population is too poor to attend the opera? Considering the brouhaha over the topless angel Guadalupe collage at the Folk Museum a few years ago you'd think someone would notice.

Two thumbs up. M-bob says check it out at SRO prices.

Wednesday, July 6, 2011

More Fire Stuff

Tom Ashcraft over at heliotown.com sent me this time-lapse video from the first night of the Las Conches fire. It's from just east of Eldroado (a few miles down the road from me) and he says it was shot with a standard lens -- not a telephoto -- but it seems up pretty close when compared to my previously posted deck photos. I musta missed the big overture...
 

And now for something completely...

Well, probably not different but at least not fire related...

I'm making a robot hand out of copper pipe. As is typical for Santa Fe I had to import a good portion of the art supplies from elsewhere -- We have a metal recycler and a couple of construction materials vendors here, but they don't really provide the level of supply to which I had become accustomed.

Here's some fingers:


The palm portion is in process as we speak. I will probably stall out after I get it assembled, but the idea is to have it articulate on an arm so you can shake hands with a robot. It would have a people detector and a speach synth to try to get folks to cooperate and berate them when they don't. I should do it with Arduinos and MaxMSP but I think I'm just too stupid to learn how, so I'll probably re-invent it all for myself.

Tuesday, July 5, 2011

All Along the Watchtower

Last night everyone in the greater Santa Fe area had a devilish view of three or four Las Conches ridgelines happily burning away. One way to the south above Cochiti and the others behind and above Los Alamos. That and concentrated fire-truck patrols seems to have put a damper on private aerial fireworks displays down here, so we had no real incidents with which to deal -- in my district, Hondo, the guys mostly drove around to get different and better views of the burning ridges to the west. There was apparently one rough moment elsewhere in the county when an off duty State Police Personage refused to stop celebrating -- who do you call then, the FBI?

Anyway here's today's map showing growth to the north. Some theories have it running until it gets to Abiquiu, quite a bit further north. And, based on yesterday's personal communications, it is also still burning down the canyons of Santa Clara, destroying most of the watershed for the Pueblo. Hopefully they will be able to recover in a timely manner:

Here is a map from the night of July 3rd which shows the daily size increase. Very impressive:


Sunday, July 3, 2011

Pacheco Fire -- the ignored eldest child

So what's happened to the Pacheco Fire during all this excitement about Las Conches? Fortunately not much of the bad type...it seems to be fairly contained and -- weather willing -- not spreading. Incident Command is being transferred to local authorities which means that it's mostly grunt work, a LOT of grunt work, left to do. I found this June 26 satellite image of the two fires on NASA's Earth Observatory. I didn't realize that they are directly across the Rio Grande from each other:

(NASA doesn't seem to put images on this site in a timely manner so you can't use it to track reality, but they are instructive none-the-less).

Getting back to Las Conches, it too seems to be in the wind-down phase. No fat ladies are singing (outside of the opera house) yet, but Los Alamos and LANL are off evacuation notice. Yesterday an actual good map was posted and I grabbed a copy in case it got disappeared. Unfortunately it's embeded in a pdf document as small strips of image so you'll just have to download it and look at it as best you can: http://www.etantdonnes.com/HVFD/image/lasconches_ftp-20110701-153027.pdf. By comparing that map to the usual-schmutzy one from July 2 23:00 posted this morning you can get an idea of what's been affected and where -- it is hoped -- it will all end:

 

A Little Exegesis


A number of people have asked me, "How come they don't just fill up every airplane and drown the thing right away?" The problem is, you can't get enough water in the air to have any real effect. Let's just say that it would take a storm dumping 1" of rain in an hour to knock-down a square-mile of burning forest -- I'm just grabbing those numbers out of an orifice, but I think they're in the right ballpark. That storm would deliver around 18 million gallons of water. Most firefighting air tankers carry 3000 gallons or less, so you would need to execute 6000 drops in an hour to have the same effect. Thus air drops are generally used on small spot fires or to create containment lines with retardant.

Which brings me to a small lecture on wildfire fighting. The Fire Tetrahedron shows that you need four things for a fire to burn: Air, Fuel, Heat, and Chemistry. To stop the fire you need to interrupt continuity in one or more of those. For a structure fire you have a failrly well contained but very hot fire. You can deliver 10 or 20,000 gallons of water in an hour and basically drown it -- the water cools it off and to some extent limits the fuel's access to air. In a big wildland fire there's no way to cool it off, so the only thing you can do is limit it's access to fuel. This is called "cutting line" around the fire. We have to make a break in the continuity of fuel using natural barriers like ridge-tops and rivers as well as man-made roads, bull-dozed strips, and, very often, hand-dug trenches.

The three things of interest in a widlfire are: Fuel, Weather, and Topology. With heavy fuels -- big trees with jungle-like understory -- it's very hard to break the continuity. Windy, especially hot and dry, weather drives the fire and causes "spotting" -- embers blown far from the fire front which ignite new "spot fires" that can expand and spot some more. Rough terrain makes it very hard to access to cut-line and, since fire likes to travel up, the second worst place to be (the worst being IN the fire) is up-wind and up-hill -- which is exactly where you need to be in order to stop the main fire's progress and knock out those small spot fires. That's why these things take so long to get under control.

For Las Conches, it looks like really concentrated work saved the Pajarito Ski lodge buildings and, with some added weather luck, kept the fire from spreading into inhabited parts of Los Alamos. But that's using over 1000 people on only a small part of the fire-line.

Personal interest aside: I grew up near the SoCal air tanker base which this guy visited: Cal Fire Airtankers at Hemet-Ryan,CA so I well remember them flying overhead all day long during the summer.

Friday, July 1, 2011

July 1 and Counting

Today's map. The brown areas are the expansion over the last day mostly to the north and into Santa Clara land. The rain helped a bit, but is predicted to dry out by this afternoon. I found this on http://twitter.com/#!/NMFireInfo/lasconchasfire, posted by someone from LANL but not on the inciweb site (yet?):

The Las Conches Fire is now the largest wildfire on record in New Mexico. But we have a contender. The Donaldson Fire, down south of the other Hondo, NM,  is racking up the tall-grass acreage at close to 80,000 today.