Skip to content

Commit

Permalink
Merge branch 'master' of github.com:eblur/ismdust
Browse files Browse the repository at this point in the history
  • Loading branch information
eblur committed Jul 28, 2016
2 parents 36f5d42 + 077e3cc commit 3953e08
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,29 @@ Try the test file to make sure it's working.

XSPEC12> @test.xcm

## Setup for ismdust fits with ISIS (Interactive Spectral Interpretation System) models

Add a line to your .isisrc file

add_to_isis_load_path("/path/to/ismdust/ismdust_isis");

Set an environment variable (same way you would for the XSPEC model)

export ISMDUSTROOT=/path/to/ismdust/

When you want to invoke the model, use the require function in ISIS to load ismdust

isis> require("ismdust");

To set up the model extinction model with a power law continuum, for example, do:

isis> fit_fun("ismdust(1, powerlaw(1))");

## Setup for Fe-L edge fits with ISIS (Interactive Spectral Interpretation System) models

Add a line to your .isisrc file

add_to_isis_load_path("/path/to/ismdust");
add_to_isis_load_path("/path/to/ismdust/ismdust_isis");

Set an environment variable to point to the location of the Fe-L edge templates:

Expand Down

0 comments on commit 3953e08

Please sign in to comment.