Month: February 2017

Signal Processing details

From the Crayfis group: ( )

With the camera as the detector element, the phone processor runs an application which functions as the trigger and data acquisition system. To obtain the largest possible integrated exposure time, the first-level trigger captures video frames at 15-30 Hz, depending on the frame-processing speed of the device. Frames which con- tain any above-threshold pixels are stored and passed to the second stage which examines the stored frames, sav- ing only the pixels above a second, lower threshold. All qualifying pixels, typically a few per frame, are stored as a sparse array in a buffer on the phone, along with their arrival time and the geolocation of the phone. When a wi-fi connection is available, the collected pixels are up- loaded to a central server for offline shower reconstruc- tion; most events are between 50 − 200 bytes of data.

Cosmic Ray App

This is a single block event with a score of 610. Score is a device dependent relative score.

Cosmic Ray App takes a different approach. Look at fig 5 from the arXiv paper. This is with a muon source, so there are many tracks. Also there muons were shot at the phone along the edge of the detector, so all the tracks are long. A real event comes in at a random angle, and as such most of them will look like pin pricks. Or pin pricks on an angle. Instead of capturing at 30Hz, we capture a little slower (longer exposure), and then do lots of processing on phone. Cosmic Ray instead of looking for individual hot pixels looks for hot regions – essentially dividing the image captured into many small blocks. These blocks are processed and standout blocks are promoted to events. The events Cosmic Ray captures are thus tiny pictures of the hot parts of the screen. Usually this is one block, but sometimes two blocks are found on the same screen. These tiny images along with the data details constitute an event.

In a future version we will allow you to share these 60×60 pixel images with the world – effectively making a very large device.

Number of Cosmic Ray muons you can expect to see:

Muons arrive at sea level with an average flux of about 1 muon per square centimeter per minute. (

An iPhone has a detector size of about 4mm x 4mm, so 0.16 cm^2, so about one muon every 6 mins or so goes through the camera sensor. What percentage does the camera sensor pick up? Time will tell, as a full calibration has not been done, but the rate of decent events does seem to be about that.

A server to show off your work!

A server edition of Cosmic Ray will be able to show off your work. We are welcoming ideas about the server user experience and functionality. It would be cool to be able to download event data as CSV, to view a map of the earth with a scaled up time line, to see where the latest events are, to join teams and to band together into large detectors.

We are live!

The initial version is out on  the Apple App Store.

A 2 block event with a score of 1677. Scores in version 1 are not absolute, but rather relative – different phones will have different scores for similar events.

These shots are from my iPhone 5. Different phones have different looks. You can see some shape to this event.

The best way to run the app is overnight or for a few hours while the phone is plugged in to power.

We are really looking for feedback for the next step – which will be a server where your phone can report events to. We are thinking about whether to have user accounts, etc.

This looks like there might be some small shower events.

A cosmic ray shower is about 1 km in diameter on the ground, which happens to align with the size of a typical university campus. Eventually we want to have teams per university competing for the most/best events. It might get fun.

So one thought is that the server connected version will show a map of (anonymized) events on an  map of the earth, in real time.

Please comment with your images – cool ‘way to go’ kudos for all submitted images.

You can share an image out to your Dropbox account or email using the app, tap on an event and then pick ‘Save’.