Showing posts with label physics. Show all posts
Showing posts with label physics. Show all posts

Wednesday, 31 March 2010

Anti-Speed Camera Device

Last week a colleague and I headed up to Windermere in the English Lake District to do some fieldwork for a paper we're busily scribbling away at. Despite it being March and the weather being a touch questionable, it was, none-the-less, extremely beautiful:

Anyway, during the long (6 hour) drive we (as generally happens during long drives on British roads these days) touched upon the subject of speed cameras, bane of the motorist. Now, before I begin, let me just be clear, I'm not a raving loony (well, depends on who you ask I suppose) who wants to go tearing round the countryside at 100 miles an hour. It does, however, nark me when we go through miles of road works with 50 mph average speed cameras and see not a single soul working on them.

We mumbled away about how easy it would be to make an anti-speed camera device, in the end coming to a quite surprising solution. Our thought process was basically this:

Speed cameras work using the Doppler Effect; by looking at the apparent frequency shift of a known pulse after it has been reflected off the moving vehicle (see below). In order to prevent said speed camera from catching you, you require some way of scrambling or cancelling this reflected signal. The optimal way of doing this is to emit a phase inverted (upside down) version of this reflected signal. Now, the signal being reflected back to the speed camera is itself the phase inverted version of the original signal emitted by the speed camera as a result of the reflection process.So, the easiest way of making yourself an anti-speed camera device is to steal a speed camera and mount it (discretely, of course) on your car...

Tuesday, 14 April 2009

The End of Mr Y


In this superb book, Scarlett Thomas throws together the concepts of modern scientific thinking and physiological reasoning regarding consciousness into a thoroughly gripping yarn. To describe it simply as a novel is doing Thomas a great disservice. In truth it is really a very clever thought experiment in the classical sense of Schrodinger or Maxwell, all nicely encased in a fast-paced, entertaining adventure story. Although there are a number of reviews out there(e.g., bookslut or Katrina), here's my two penneth.

The story follows disillusioned Ph.D student Ariel Manto. Her supervisor vanished some 12 months prior to the begging of the tale, and as we begin her University is falling down. Through a series of strange events she ends up finding a very rare copy of the book 'The End of Mr Y' by Thomas Lumas, a supposedly cursed text of which there are only a couple of copies known to exist. Contained within this valuable work is the recipe to make a drug which allows one to access the Troposphere, a extra set of dimensions where all consciousnesses interact. Obviously, being the plucky young heroine in a modern adventure novel, she goes straight out to get the necessary ingredients and have a go herself. Needless to say, all hell breaks loose and and we're led on a merry old romp.

Although the basic skeleton of the story isn't something insanely creative and new, the concepts Thomas discusses along the way are what make it. Some pretty complex and very thought provoking issues are introduced, all in a manner that leaves the reader interested and wanting to know more. Somehow, Thomas manages to strike the perfect balance between being complex and engaging, without also being confusing.

The basic idea revolves around the principle that thought (i.e., consciousness) is matter, thereby enabling consciousness to take the form of a higher dimensional space. This Troposphere therefore allows you to gain access to other peoples mind and their memories. In principle, the statement that thought =  matter is true, thoughts can be observed as increased electrical activity within the brain. For me, how this ties with an extra 'consciousness' dimension is probably a step too far. But, one idea Thomas discusses along the way, is the belief that consciousness evolves in a similar way to physical traits.

This I find immensely emotive. As is pointed out, under this principle there is nothing to stop machines developing consciousness, indeed it could be thought of as being unavoidable. So, HAL or Skynet mightn't be that far off!

In conclusion, The End of Mr Y is a great book, and doesn't feel anywhere near the 506 pages in length it is. If you have an interest in the philosophical sciences then you'll find it extremely engaging, and well worth curling up with one sunny spring afternoon.

Friday, 10 April 2009

Nyquist and sampling

Due to one thing and another (mostly the one thing commonly referred to as my thesis, although I have some more personal terms for it), I haven't found the time to keep this little corner of the blog-o-sphere up to date lately. However, the blighter is just about finished (the light is most definitely in sight), which means normal service should be resumed in the near future.

In the mean time, there are a couple of things of late that have caught my attention, causing my little grey cells of curiosity to spark into life. So, with luck, I hope to take up some of the time off I'm allowing myself over Easter (ssh, don't tell the supervisors) to catch up on a little bit of blogging.

First amongst the musings I wanted to talk about is a few thoughts I had whilst looking up some information on Harry Nyquist. Anyone who has studied physics, maths, or engineering of some description must has come across him and his famous Nyquist Theorem (although, properly it should probably be called the Nyquist-Shannon Theorem).

For anyone who hasn't come across this particular idea, it is one of the fundamental principles of Information Theory (something which Nyquist and Shannon both contributed heavily toward developing). Regardless of whether you've ever studied this subject at all, it will have played a huge part in your life. Information theory is fundamental to the way the all those electronic gizmos (from the telephone to the computer and the microwave) we have got so used having loitering around the place. The fundamental principles of information theory are what govern the way the information is communicated, both within a electronic system (e.g., signals between the CPU and graphics card in your computer), and between them (e.g., telephone signals). While subtle nuances in the theory allows this information to be transferred faster and more efficiently, therefore making your computer or tv work faster and better.

At the core of this is something called Sampling Theorem; i.e., the Nyquist-Shannon Theorem. This basically covers the way analogue signals are translated into digital ones (and vice versa). This is easiest explained if we consider an example, say music. Lets consider we're sat in a quiet room strumming a guitar. The sound produced by the guitar spreads out through the room as a series of pressure waves. If we were to think about how these pressure waves are heard by a human ear, we would get a continuous line of varying amplitude; an analogue signal (see figure below).


However, if we want to record this sound so we can replay it on a computer we have to digitize it. Computers can't store analogue signals since they, by definition, have an infinite number of amplitude values. Thus, analogue signals are digitized, which means we describe the analogue signal as a series of amplitude values (see figure above). Thus, the sound of the guitar becomes a series of numbers that represent the amplitude of the sound (pressure wave) at a moment in time.

This digitization of the analogue signal is where the sampling theorem comes in. We have all got music stored on our computers which we can listen to. In order for this to sound the same as if were were sat in the same room as the real instruments playing, the sound has to be sampled at short enough time steps so as to convince the human ear that it is not a series of descrete samples. Basically, it's the same way as animations work. An animation consists on c. 30 individual drawings which are flashed onto the screen every second. The human eye can't tell the difference between them, and so is tricked into thinking it is a moving picture. With the digitization of the sound from our guitar, we're doing exactly the same process.

Every electrical gadget in your home works with these digital signals. What the Nyquist-Shannon Theorem describes, is the minimum time step at which a signal has to be sampled in order to convey a certain set of information. Engineers, mathematicians, and Physicists think of this information in terms of it's frequency, which is what the theorem describes; the Nyquist Frequency.

I deal with the Nyquist theorem pretty much every day as it also plays a fundamental part in signal processing, which is essentially what I do. However, what I didn't know was just how successful Nyquist and his colleagues at AT&T Bell Labs who pioneered information theory (amongst other things) were. The total of 11 researchers won 6 Nobel prizes between them! That is an incredible success rate, and probably one which will never be replicated anywhere else. Kinda puts into perspective everything us little people are struggling with!

Sunday, 28 December 2008

Social detritus

'The daily press is the evil principle of the modern world, and time will only serve to disclose this fact with greater and greater clearness. The capacity of the newspaper for degeneration is sophistically without limit, since it can always sink lower and lower in its choice of readers. At last it will stir up all those dregs of humanity which no state of government can control.'
Soren Kierkegaard (1813-1855)


Soren Kierkegaard, a Danish philosopher and theologian, expressed this opinion in The Last Years, a collection of his journal entries between 1853 and 1855. How apt they were in the middle of the 19th Century, I do not know, but now, over 150 years later, they can have rarely resonated with such truth.

During the course of the last year we have, as always, seen a number of examples of journalists taking their journalistic license just a little bit too far. But, what we all witnessed thoughout the summer regarding the end of the world as soon as the LHC was switched on at CERN, made feeding time in the lion enclosure look like the height of hout-couture!

This problem of media attention for all the wrong reasons was similarly faced by astronomers 5 to 10 years ago. Pioneering work on the Cretaceous-Teriary
impact by Walter Alvarez and others cemented the idea of cataclysmic asteroid impacts causing mass extinction events, in turn paving the way for enormous summer blockbusters such as Armageddon and Deep Impact. In the wake of these attention grabbers, every discovery of an asteroid with an Earth crossing obit (known as an NEOs - Near Earth Object) gained pages of dedicated coverage in the world's media. The end of the world was, seemingly, at hand.

In the short-term such publicity can be good for the scientists involved, but in the long-term its effect on the science can be disastrous. The general public have a relatively short attention span when compared to your average scientific experiment. Don't get me wrong, this isn't the scientist inside me coming over all pompous and considerably better than thou, rather simply stating the fact that the public struggle to grasp the immense timescales involved in most scientific project, nor the general scientific adage of 'so-and-so being correct within errors'.

With the NEOs this is particularly apparent; when was the last time you saw a newspaper report of an asteroid getting all snugly with the Earth in a couple of hundred years time? Just because the press coverage has died down doesn't mean the chance of us being wiped out by a lump of rock and metal hurtling towards us from the icy depths of the solar system have diminished, quite the contrary. One will hit us sooner or later, and chances are we might not even see it coming as it approaches us from perihelion (closest approach to the Sun) and is therefore lost in the blinding glare of our dear, little star. The lack of news is simply a reflection of the rapidly waning interest.

I, for one, hope that CERN and the LHC does not suffer a similar fate. Although it will, in all likelihood, take some 5+ years to get meaningful results the team are confident enough to publish, the questions it could answer are enormous. However, somehow, sadly, I think it has already begun. Indeed, one could say it had already begun the moment the world didn't end...even if that was just a rediculous piece of journalistic fiction.

Friday, 14 November 2008

How proxy is a proxy? - Part II

So, I believe that last time I threatened to, for once, have a series of evolving posts that gradually elucidate on a single topic. Henceforth, here is round two.

As a reminder, last time I posed the question:

How accurate are experiments where non-human, proxy cadavers are used?

In particular, I'm considering experiments where we want to use existing acoustic technology to image submerged cadavers.

To start with, lets think about precisely what we're going to be imaging with the acoustic returns. Sounds simple, doesn't it?! Sadly, as with almost everything to do with acoustics, simple questions tend to result in complex answers.

In order to image something using sound, it needs to present a measurable change in acoustic impedance (i.e., basically a measure of the strength to which the material resists the passage the sound wave) to it's immediate surroundings. The human body is generally considered to consist of 60 -70 % water, suggesting that a cadaver sitting on the seabed, lakebed, or riverbed will tend not to offer as strong an acoustic target as, say, the sediments on which it is resting because it closer resembles the water around it than the sediments do.

However, the acoustic backscatter from a target (the sound which travels from the source to the object and is reflected back towards the source again) is the combined response of two processes:

1. Surface scattering: the energy reflected back by the water/cadaver interface.

2. Volume scattering: the energy reflected back from within the target.

Of these, the volume scattering is the one we're particularly interested in. As I said earlier, the surface scattering will not be very strong for a cadaver. The volume scattering, on the other hand, will be. This is because, during decomposition, gas builds up within the tissue and internal cavities of the cadaver. This gas will present a very strong change in acoustic impedance.

So, when we want to acoustically image a cadaver, we would expect the dominant acoustic signature to be from the build up interstitial gas as a result of decomposition.

Tuesday, 7 October 2008

Don't forget the old ways

Recently I've been spending a large part of my time writing quite a complex bit of new code to process the seismic data we acquire using our 3D chirp system (those of you who've been paying attention will remember me talking about this a little while ago). Going through this process I've become increasingly aware just how much we take for granted the insane amounts of computing power those of us in active science research have available to us.

Although the process I'm trying to accomplish (3D seismic imaging) is not in either conceptually complex, nor difficult to write as an algorithm, it is difficult to do well. This spawns from two main factors: firstly, our obsession with data redundancy leading to enormous amounts of data being pumped in at the beginning; and secondly, the complex coupling between acoustic waves and their host medium making modelling the propagation of sound in geologically complex areas mathematically expensive (equally, this can also be thought of as a problem resulting from our desire as scientists to push the limit and explore more challenging environments).

The former problem is the one I've been mainly struggling with. The nature of our system means that trying to produce an imaged volume requires the manipulation of an incredible amount of data. For an average survey you're talking about having 10 - 15 million spatial samples, each consisting of 3000 - 4000 measurements of the reflection energy recorded at different times. To image this, the data has to be converted into the Fourier (frequency) domain since the propagation of acoustic wavefronts through a medium is frequency dependent. This produces a further 1500 - 2000 data points for each time measurement, giving a total of about 1.2 x 10^14 (120 trillion) data samples to manipulate! Not to mention a windowed Fourier transform before and after!

When handling data on these sorts of volumes it's easy to forget that altering the location of a single calculation within the code can dramatically affect it's run time. Simple things, like moving a variable calculation out of a for loop so that it is calculated only once for each frequency component on each time series shaves, literally, days off the processing time. Equally, a clever bit of sorting of your input data can enable the application of a single calculation to time series from multiple surface locations.

These techniques are not new, as sundialsvcs pointed out in this thread on LinuxQuestions.org I recently stumbled across. There is a tendancy with the processor power and memory volumes available at increasingly reasonable prices for our coding to become more slapdash and less optimized. The application of a little thought and some of the tricks commonly employed when computers were beasts that filled entire rooms could, I think, cut swathes off our (by this I mean scientists) processing time.

Also, talk about cutting energy usage to save the environment - imagine how much greener it would make us!

Monday, 6 October 2008

A fifth force farce

Over the weekend a good friend of mine from undergrad sent me a link to this site discussing a joke publication on the discovery of a fifth fundamental force.

Personally, all credit to the guy! Threatening to take the mickey and submit a spoof paper, be it as an April fool or whatever, is something I think most people would talk about (probably somewhere between pint number 4 and pint number 5), but then casually side step when it came to actually joining pen and paper. But not Lawrence Krauss, oh no! He threatened, and then had the balls to back it up.

There are a couple brilliant bits in his article, but I think my personal favorite has to be reference 6:

'6. Thanks to the intermediation of high-ranking officials from certain Italian banks, Vatican archival material was made available to us.'

As good a spoof as the original manuscript is, he was completely out performed by the 'reviewing' team from PRL. Their report is a work of genius. This line from the editor had me in stitches for a good while:

'In addition, we feel that the general interest (and even novelty if you want to be arcane about it) no longer supports the discovery of new forces. Already five have been reported in the literature and we think the time has come to draw a halt to the unbridled publication of force discoveries.'

Hopefully most readers of the science blogosphere, especially those who've ever had the privilege of trying to sift through reviewers comments, should appreciate this as much as I did. Enjoy!

Tuesday, 30 September 2008

We like da Moon

As I wittered about a few days ago, I'm quite keen on the concept of Big History. Something I meant to talk about in that post, but kinda ran out of room, was an idea that has been rattling around my head for some time now. It goes something like this...

The Moon, our big white faced friend in the sky, is believed to have been formed by a collision between the proto-Earth and a Mars-sized body some 4.45 billion years ago. The evidence for this particular theory for the lunar origin, first proposed by William Hartmann and Ronald Davis in the journal Icarus during April 1975, has been steadily growing over past decades. Where as almost all other planetary satellites are thought to be either captured asteroids (e.g., Mars' moons Phobos and Deimos) or co-formed accumulations of material during the planet's formation (e.g., the Galilean satellites of Jupiter), the anomalously large size ratio and angular momentum of the Earth-Moon system make either of these scenarios unlikely. Just to add weight to this arguement, the Moon also appears to have a small (< 5% total mass) iron core, which one would expect to be much larger in both former cases.The third theory popular prior to Hartmann and Davis' writing, which involves the moon breaking away from a rapidly spinning Earth, also falls down with this latter piece of evidence as one would expect no (or almost no) iron core (let alone mismatches in the amount of angular momentum!).

I suppose, the long and short of what I'm trying to say is, basically, that it has been circling our little blue globe as long as life has been wandering round, eating, fighting, and having sex.

In his talk at IGC, Walter Alvarez postulated that having such a large moon had a massive impact in the development of complex life on Earth. This, he said, is likely to be caused by the lunar tides making the transition from aquatic to terrestrial life easier. In both of these statements, he is correct. Having a large Moon has almost certainly had a massive effect on the development of life on our planet, while the presence of a tidal zone (which would have been considerably larger when life was forming in the Archaen, since the Moon would have been much closer) one can conceptually imagine would smooth the transition into land dwelling life forms.

However, I disagree that this is the most lasting influence of the Moon-Earth system on the development of life. One could argue this from the philosophical view-point that Alvarez is implying that all truly complex life will be terrestrial in origin. To put it politely, this it utter codswallop! Marine life and the marine ecosystem is incredibly complex, and just because they don't pour concrete over everything doesn't stop them from being highly evolved. Taking the more scientific approach, the largest implication for having such an Earth-Moon system is, I think, one which has been loosely discussed for some time, namely the stabilizing effect of the Moon on the Earth's obliquity (angle of the Earth's rotation pole to it's orbital plane). Presently, the complex interaction between the Earth's orbital and rotational momenta, with the gravitational effects of the Moon, Sun, and Gas Giants, holds this stably at c. 23 degrees (plus/minus c. 1.25 degrees). Without the stabilizing effect of the Moon, it has been shown that the highly variable effect of the Gas Giants (caused by their changing position relative to the Earth during the orbital cycle) could cause this to vary by up to 80 degrees!

The small fluctuations in the Earth's obliquity are known to be one of the driving forces behind the Milankovic cycles, which are thought by climate scientists to be the dominant cause the glacial cycle. Conceptually, introducing larger amplitude and shorter period variations in the obliquity would dramatically change the Earth's climate history; which is generally built on long periods of warmer climate and low ice levels, separating somewhat shorter periods of colder climate with large ice levels. Shortening these calm time periods between ice ages is likely to have a large effect on the evolution of complex life. Although one could argue that it is unlikey to stop the development of complex life completely, shorter calm periods would certainly have slowed evolution down a notch or two.

To my knowledge no one has tried running any kind of altered obliquity simulation. Maybe on of these days I'll get round to it!

Monday, 29 September 2008

Piggy hide and seek

Watching the 'freshers' turn up at work this year, all bubbly and full of the promise of a new beginning, made me have a little think. Eight years ago I was one of those over-eager little souls bounding into the Physics and Astronomy Department in Sheffield. Four years ago, I was probably not too dissimilar, this time bounding into the National Oceanography Centre, Southampton. Last week my PhD and, hopefully, Post-Doc supervisor handed me a book entitled 'Advances in Forensic Taphonomy: Method, Theory, and Archaeological Perspectives'. Funny how things change!

Were you to ask me where I thought I'd be in eight years time when I started my undergrad in Physics with Astronomy at Sheffield, I would almost certainly said something along the lines of 'hopefully doing something in astronomy'. Were you to ask me where I thought I'd be in four years time when I started doing geophysics at Southampton, I'd almost certainly have replied something along the lines of 'yeah, well, I'll probably sell out to the industry and go hunting for oil'. Yet, now, here I am, writing a Post-Doc proposal to play underwater hide and seek with some dead pigs using a variety of acoustic profilers. Funny thing is, I ain't complaining!

The principle is quite simple: we have already proved that our decimetre resolution 3D seismic system, 3D Chirp, can be used to image everything from geological structure on 10s metres scale, down to individual objects some 10s centimetres in size; and a number of companies have already shown that acoustics can be used to locate dead bodies. However Police authorities around the world still primarily default to using shore walks and diver surveys when conducting missing person searches.

To a large degree, their lack of trust in these new technologjes is reasonable. Practically, these systems tend to be highly specialised, requiring a large amount of detailed knowledge to get the best out of them. Thought needs to go into which acoustic profiler to use (side scan sonar, sector scanning sonar, echoscope, or a sub-bottom profiler such as chirp or boomer), where and how to use it, how to process the acquired data, how to interpret the processed data, etc, etc. The list is almost endless. Then, to confound it all, there has been very little work done on how the acoustic response of a body varies with the level of decomposition. How long does a body have to have been deceased before they present a strong enough acoustic signature to be detected? How long before the body is so decomposed that is presents no acoustic signature? How does this vary from person to person and locality to locality? How does this vary with the frequency content of the acoustic source? Such basic, fundamental questions need solid, scientifically robust answers before the Police authorities can be expected to make extensive use of these techniques. Hopefully, we might be able to provide them with a few.

Finally, something a little more topical. I recently discovered
this post by Moshe Rozali talking in very general terms about the principles of field theory, and in particular Quantum Gravity. This is a pretty meaty topic to tackle in any situation, but Peter manages it with beautiful elegance in his usual easy-to-read style. Given the recent media hype surrounding the LHC and the Higgs Boson, this post is well worth a read as it outlines some of the basic holes in our present understanding of gravity. Personally, I think it's a shame some of the 'science' journalists didn't give it a browse before they started the 'black hole to destroy the world' tirades, maybe we'd have gotten a few more interesting news reports if they had...although they would, probably, have sold fewer newspapers!

Thursday, 25 September 2008

Big History

Big History is an area of science I only recently discovered via a talk given by Walter Alvarez at the 33rd IGC meeting in Oslo, Norway. This multi-disciplinary approach to looking at history, considers the major events/factors that have been the driving forces behind the formation of the world and indeed the universe as we know it today.

Personally, I find the idea of bouncing around ideas on such large scales fascinating.
The way that, for instance, you can consider the evolution of complex life from the view point of a series of astronomical forcing factors really tickles my little grey cells. Also, discussing such topics is clearly perfect for pub based debates, where almost anyone from any walk of life can contribute something. It reminds be greatly of my 2nd and 3rd year Astronomy tutorials with Prof. Hughes, which turned into massive debates on subjects such as the origin of the solar system, or asteroid impacts, or any one of a million other subjects.

For an introduction to the topic one shouldn't look any further than Marnie Hughes-Warrington's excellent article in the Bulletin of the Historical Society, which provides a brilliant and engaging overview of the subject and how it has developed from the early imaginings of, for example, Isaac Asimov and Preston Cloud, in the 1980s through to the recent pioneering writings of David Christian and Fred Spier. Anyone interested in the subject should, I think, start there. It certainly worked for me!

Wednesday, 24 September 2008

Why exams are bad!

This morning, the title story on the Education section of BBC News reads 'Testing harms school science'.

No sh*t sherlock!

This particular little gem is something nearly everybody in science has been screaming to the heavens about for years. Don't get me wrong, I'm not pointing the finger at teachers or pupils (Christ, I was one of the latter not too long ago!), rather my wagging pinky is aimed straight at Whitehall and those suit clad tyrants who dictate just about everything in our lives by instating ever increasing levels of red tape.

Their obsession with tests and league tables and an ever changing syllabus is at the root of this problem, which extends far beyond Science's sacred shores. First year physics students at Bristol, along with most other UK Universities, are made to sit a basic maths test in their first week. This forms a guide to the Maths for Physicists modules that run throughout the first year in order to get everyone up to the required competence level. I quote the test in Bristol specifically, because this test has been running for some 30+ years now, and, while the average A-level grade of entrants has sky rocketed, the average score on this never changing test has plummeted. This is not a reflection of the quality of the students, or their aptitude for maths/science, rather it reflects the method of GCSE and A-level teaching.

The pressure on schools, teachers, and pupils to get straight A's and be at the top of their respective league table is bordering on the obscene. As a result of this Stalinistic approach to schooling kids, the basic understanding of the fundamental subjects (English as well as Maths and the Sciences) is being superseded in preference to exam grades. For me, the key point is that exam results are mistakenly being identified as the goal, whereas, surely, the primary outcome should be that kids leave school brimming with knowledge and skills that can be applied to the rest of their lives.

Unsurprisingly, with such a contentious subject, there are lots of webpages out these discussing this exact same topic. One of my personal favourites is this one on Y Safle, who collates figures garnered from the Exam Boards to back up his arguement. It's well worth a quick peek.

To finish on a bit lighter note...while on my morning browse of BBC News I also discovered something which would only ever happen in Australia:

http://news.bbc.co.uk/1/hi/world/asia-pacific/7632158.stm

'A woman on the north coast of New South Wales in Australia is being held hostage in her own home by a large pig'. That has to be the best opening sentence to a news item since the tiger was found a NY flat, and by some margin! I've got this image now of a very large pig, with Samuel L. Jackson side-burns and a John Travolta quiff, peaking out between blinds at an array of police cars whilst clutching a sawn-off shotgun, cigarette hanging limply from his chops.