Thøger Emil Rivera-Thorsen

Astrophysicist, Ph.D. candidate.

More Testing

This is justs another post to see if stuff gets better as I get better. It already kinda has but it is still abi more complicated than I thought it would be. But that is still not very complicated, though.

Math with MathJax and some italics in headers

This was not built in to Octopress, but luckily a matter of a few copy paste options in some terminals and config files following brilliant advise from nice internetters.

Testing som inline math writing Lyman and also som other math:

Code highlighting

Next, let us try some inline code of sorts and some code highlighting.

1
2
3
4
5
6
7
8
9
10
11
12
13
import pandas as pd
from astropy.io import fits

def my_function(inpars):
    """This is a docstring."""
    outpars = inpars * 70.
    if outpars == 0:
        print 'Det var sørme ærgerligt mester!'
    elif outpars < 0:
        print 'Jow, jowjow da. Kunne wåren møj wæer.'
    else:
        print 'Yeah, Baby, yeah!'
    return outpars

Well, finally got that to look pretty nice.

Other things

Now is time for a block quote, methinks.

The general relativistic (GR) interpretation of the redshifts of distant galaxies, as the expansion of the universe, is widely accepted. However this interpretation leads to several concepts that are widely misunderstood. Since the expansion of the universe is the basis of the big bang model, these misunderstandings are fundamental. Popular science books written by astrophysicists, astrophysics textbooks and to some extent professional astronomical literature addressing the expansion of the Universe, contain misleading, or easily misinterpreted, statements concerning recession velocities, horizons and the “observable universe”

– Tamara Davis & Charles Lineweaver

This is a nice quote and should look nice on the page too, hopefully.