Git Product home page Git Product logo

flatlib's Introduction

Readme for FLATlib v0.7
--------------------------

FLATlib is a Fortran90 library for performing fast convolution of
theoretical spectra with the instrumental response functions of the
Fermi Large Area Telescope (LAT).  This release is probably the final beta
version of the library, for use within and outside the Fermi collaboration.
It contains P6_v1, P6_v3, P7_v1 and P7_V6 IRFs.  This version is minimally
documented; later releases might contain more documentation.

To use flatlib, copy the contents of the tarball to whatever directory
you like, retaining the directory structure.  Make sure you have the cfitsio, 
fftw3 and m libraries installed and accessible in your default libray paths.  
Modify the makefile in the root directory to suit your compiler preferences.  
Compile the library, utilities and test program by just typing 'make' in the 
flatlib root directory.

In general, the IRFs need to be averaged before any fast convolutions can be 
done.  This can be done in advance using 
./flataverage <IRF folder name>
in the data directory.  If this has not been done already, it will be done 
automatically anyway for the chosen IRFs when flatConvolve_fast_init is 
called to set up the convolution.  The averaging may take a very long time
to run, depending upon your computer speed and whether you modified any of
the options in src/flatCommon.f90.

Once these are done, you can run the test program by typing
./flattest
and checking that there are no errors in the output.  Refer to 
src/flatTest.f90 for an example of how to call the library from your
own programs.

Note that the compiled library which you will need to link to is 
lib/libflatlib.a; the other libraries in lib/ are just temporaries
and are not required to be linked to by end users.

Pat Scott  	July 7 2009
Updated 	Feb 21 2011
		Oct 20 2011
		Apr 12 2012
                Mar 12 2013

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.