Saturday, March 15, 2008

Friday, January 11, 2008

How do download Osiris dumps fast

1. SSH to HPC and go to the output folder

2. Compress the folder using the command

tar -cvzpf archive.tgz /auto/rcf-19/kallos/new_beam/MS

where the path will be different for each case. This compresses the total file size by ~10 times.

3. Download the single archive file using an ftp client. The time is roughly 2.5 minutes per GB of original (uncompressed) data. The total time savings is about 20 times compared to uncompressed data.

4. Decompresses locally the files using a program like winrar.

5. You are set to go and analyze the data!

Wednesday, December 12, 2007

Chris goodbye lunch




Marmelade Cafe, Grove

Tuesday, October 2, 2007

berkeley video lecture course

EE 213/AST 210 Soft X-rays and Extreme Ultraviolet Radiation

Instructor Attwood


http://webcast.berkeley.edu/course_details.php?seriesid=1906978243

Wednesday, July 4, 2007

PAC07 Pictures and Videos

Pictures from the PAC07 conference here:

http://www.flickr.com/photos/timaras/sets/72157600626431779/


An interesting video with Patric and Vitaly demonstrating their pool skills:

http://www.youtube.com/watch?v=eYI3Ay8ufLA


and our scary video when we were lost somewhere in Arizona:

http://www.youtube.com/watch?v=N_UJzh71I3s

Tuesday, June 5, 2007

power point 2007

When you insert text in power point you swithc to subscript with control plus ans in the old power point ctrl plus again would make it normal now you have to hit space to go back to normal
ARGH!

Friday, June 1, 2007

how to get a blank matlab movie

I was using the following code to make the movie from the hdf files
and for some reason it didn't work this time after some soul searching I realised that the
matlab command FIGURE caused the whole problem. so I removed it from the code and VOILA!

filename = ['3dmovie5'];
%let's create the first avi file
aviobj = avifile(filename); %opens file called name
aviobj.Quality=100;%quality of mImages
aviobj.Compression='None'; %compression
aviobj.Fps=6;%frames per second
ImFirst=20;
ImLast=90;


for im=ImFirst:10:ImLast
im
hf = figure('visible','off');
cd('L:\osiris\monoenergetic\moresmoothe\parandallagain\MS\FLD\E1');
[marray1,z,r]=openhdf(['E1-0000',num2str(im),'.hdf']);
a=1;
b=70;
c=1;
d=160;

field=[marray1(a:b,c:d)];
FIGURE;mymeshc(z(c:d)*23.8,r(a:b)*23.8,field*21);
axis([0 200 0 100 -40 40])
set(gca,'View',[29 22]);
xlabel(' z (\mu m)');
ylabel('r (\mu m)');
zlabel( 'E (GV/m)');
set(gca,'XMinorGrid','on')
set(gca,'YMinorGrid','on')
set(gca,'ZMinorGrid','on')