patscott / flatlib Goto Github PK
View Code? Open in Web Editor NEWFLATlib is a simple, lightweight Fortran90 library for convolving a theoretical source with the Fermi-LAT IRFs (energy dispersion, point-spread function and effective area).
FLATlib is a simple, lightweight Fortran90 library for convolving a theoretical source with the Fermi-LAT IRFs (energy dispersion, point-spread function and effective area).
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.