Archive for Computational Physics

Learning Technology

Posted in Biographical, Cardiff, Education, Maynooth with tags , , , , , , , , on February 20, 2018 by telescoper

I’m just taking a tea break in the Data Innovation Research Institute. Today has been a very day as I have to finish off a lot of things by tomorrow, for reasons that I’ll make clear in my next post…

It struck me when I was putting on the brew how much more technology we use for teaching now than when I was a student. I think many of my colleagues make far more effective use of the available technology than I do, but I do my best to overcome my Luddite tendencies. Reflecting on today’s teaching makes me feel just a little less like a dinosaur.

This morning I gave a two-hour lecture on my Cardiff module Physics of the Early Universe which, as usual, I recorded using our Panopto system. Although there was a problem with some of the University’s central file storage this morning, which made me a bit nervous about whether the lecture recording would work, it did. Predictably I couldn’t access the network drives from the PC in the lecture theatre, but I had anticipated that and took everything I needed on a memory stick.

After a short break for lunch I checked the lecture recording and made it available for registered students via the Virtual Learning Environment (VLE), known to its friends as Learning Central. I use this as a sort of repository of stuff connected with the module: notes, list of textbooks, problem sets, model answers, instructions and, of course, recorded lectures. The students also submit their coursework assignment (an essay) through this system, through the plagiarism detection software Turnitin.

This afternoon the students on my Computational Physics course in Maynooth University had a lab test, the first of four such tests, this one consisting of a short coding exercise. There are two lab sessions per week for this class, one on Thursdays (when I am normally in Maynooth to help supervise) and another on Tuesdays (when I am normally in Cardiff). I have a number of exercises, which are similar in scope but different in detail (to prevent copying) and the Tuesday lab has a completely different set of exercises from the Thursday one. In each exercise the students have to write a simple Python script to plot graphs of a function and its derivative (computed numerically) using matplotlib. The students upload their script and pictures of the plot to the VLE used in Maynooth, which is called Moodle.

In the manner of a TV chef announcing `here’s one I did earlier’, this a sample output produced by my `model’ code:

I wonder if you can guess of what function this is the derivative? By the way in this context `model’ does not mean `a standard of excellence’ but `an imitation of something’ (me being an imitation of a computational physicist). Anyway, students will get marks for producing plots that look right, but also for presenting a nice (commented!) bit of code

This afternoon I’m on Cardiff time but I was able to keep an eye on the submissions coming in to Moodle in case something went wrong. It seemed to work out OK, but the main problem now is that I’ve got 20-odd bits of code to mark! That will have to wait until I’m properly on Maynooth time!

Now, back to the grind…

The Quickening of the Year

Posted in Education, Maynooth, Music, The Universe and Stuff with tags , , , , on February 1, 2018 by telescoper

It’s 1st February 2018, which means that today is Imbolc, a Gaelic festival marking the point halfway between the winter solstice and vernal equinox. This either happens 1st or 2nd February, and this year it is the former. In this part of the world – I’m in Ireland as I write- this day is sometimes regarded as the first day of spring, as it is roughly the time when the first spring lambs are born. It corresponds to the Welsh Gŵyl Fair y Canhwyllau and is also known as the `Cross Quarter Day’ or (my favourite) `The Quickening of the Year’.

So, talking of quickening, the pace of things is increasing for me now too. This morning at 9am I gave my first ever lecture in Maynooth University in a lecture theatre called Physics Hall, which is in the old (South) part of campus as opposed to the newer North Campus where the Science Building that contains my office is situated.

After that it was back to the Department for some frantic behind-the-scenes activity setting up accounts for the students for the afternoon lab session, which is in a computer room near to my office. Students attend one two-hour lab session in addition to the lecture, on either Thursday or Tuesday. The first lecture being this morning (Thursday) the first lab session was this afternoon, with the same material being covered next Tuesday.

I was far more nervous about this afternoon’s lab session than I was about this morning’s lecture as there seemed to be many things that could go wrong in getting the students up and running on our Linux cluster and getting them started on Python. Quite a few things did go wrong, in fact, but they were fewer in number and less drastic in outcome that I had feared.

So there we are, my first full day teaching in Maynooth. I think it went reasonably well and it was certainly nice to meet my first group of Maynooth students who, being physics students, are definitely la crème de la crème. I’ve got another 6 weeks like this (teaching on Tuesday in Cardiff and on Thursday in Maynooth) before the Easter break so it’s going to be a hectic period. Just for tonight, however, I’ve got time to relax with a glass or several of wine.

Incidentally, I was impressed that Physics Hall (where I did this morning’s lecture) is equipped with an electric piano:

I wonder if anyone can suggest appropriate musical numbers to perform for a class of computational physicists? Suggestions are hereby invited via the Comments Box!