Giter Site home page Giter Site logo

cosmology_ii's Introduction

AST9240 -- Cosmology II

The repo contains code(s) created based on the Fortran templates provided for AST9240 -- Cosmology II course from University of Oslo. It consists of 4 projects in total:

  1. The background evolution of the Universe
  2. The recombination history of the Universe
  3. The evolution of structures in the Universe
  4. The CMB power spectrum

Reports for all 4 parts located in reports folder within this repo.

The assignments and some materials can be found inside materials folder within this repo.

The total list of materials for the course can be found on official course page here: https://www.uio.no/studier/emner/matnat/astro/AST5220/v19/pensumliste/index.html

Prerequisites

To install the code you need to have the following libraries preinstalled first:

  1. CFitsIO;
  2. HEALPix;
  3. BLAS/LAPACK;

You will also need to have a Fortran compiler. The primary compiler used was from Intel, but GNU GFortran should also work, given the correct compiler flags.

Once you installed all prerequisites, modify Makefile to incorporate the changes.

Compile

To compile the project simply type:

$ make

in the root. This will produce executable called cmbspec.

Note: I have modified the original template Makefile to split src codes from compiled mod and obj files. This means that you will need to create new directory inside root called obj for make to work.

Run

To run the code type:

$ ./cmbspec

It will start all necessary processing. The resulting files will be stored inside data folder within root.

To plot the results for each subproject, use ipynb contained within this repo.

Note: you need to create data directory before you started processing otherwise it will not work.

cosmology_ii's People

Contributors

maksymbrl avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.