-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtools.html
More file actions
executable file
·105 lines (101 loc) · 7.71 KB
/
tools.html
File metadata and controls
executable file
·105 lines (101 loc) · 7.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<!-- Style adapted from https://startbootstrap.com/themes/freelancer/ -->
<html lang="en">
<!--#include virtual="includes/head.inc" -->
<body id="page-top">
<nav class="navbar navbar-expand-lg bg-secondary fixed-top" id="mainNav">
<div class="container"><a class="navbar-brand js-scroll-trigger" href="#page-top">PhotoDissociation Region Toolbox</a>
<button class="navbar-toggler navbar-toggler-right font-weight-bold bg-primary text-white rounded" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">Menu <i class="fas fa-bars"></i></button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item mx-0 mx-lg-1"><a class="nav-link py-3 px-0 px-lg-3 rounded js-scroll-trigger" href="/index.html">HOME</a>
<li class="nav-item dropdown mx-0 mx-lg-1">
<a class="nav-link dropdown-toggle py-3 px-0 px-lg-3 rounded" href="#" id="navbarDarkDropdownMenuLink" role="button" data-toggle="dropdown" data-bs-toggle="dropdown" aria-expanded="false">
MODELS
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDarkDropdownMenuLink">
<li><a class="dropdown-item" href="/models.html">PDR Code Descriptions</a></li>
<li><a class="dropdown-item" href="/models/index.html">PDR Model Plots & FITS Files</a></li>
<li><a class="dropdown-item" href="/hiiregion/index.html">H II Region Diagnostics</a></li>
<li><a class="dropdown-item" href="/oidiagnostic/index.html">[O I] 1.613 μm Diagnostic</a></li>
</ul>
</li>
<li class="nav-item mx-0 mx-lg-1"><a class="nav-link py-3 px-0 px-lg-3 rounded js-scroll-trigger" href="/docs.html">DOCUMENTS</a>
</li>
</ul>
</div>
</div>
</nav>
<header class="mymasthead bg-primary text-white text-center">
<div class="container d-flex flex-column">
<!-- Masthead Subheading-->
<p class="pre-wrap mymasthead-heading font-weight-bold mb-0">Tools & Notebooks</p>
<p class="myp">
The PDR Toolbox is implemented as a Python package, hosted at <a class="mya" href="https://pypi.org/project/pdrtpy">pypi.org</a> and installable with pip (<code>pip install pdrtpy</code>). Below is a list of the main tools in the Toolbox.
Full documentation is available <a class="mya" href="https://pdrtpy.readthedocs.io/en/latest/">online</a>. We have created <a class="mya" href="https://github.com/mpound/pdrtpy-nb">example notebooks</a> and <a class="mya" href="https://github.com/mpound/pdrtpy">the code itself on github.</a> We welcome contributions and ideas to improve the PDR Toolbox!
Please look at our <a class="mya" href="https://github.com/mpound/pdrtpy/blob/stable_release/roadmap.md">Roadmap of Functionality</a> to see the main new features we want to build. You can help out with those or suggest new features.
If you have any questions, head on over to <a class="mya" href="https://groups.google.com/g/pdrt">the PDR Toolbox discussion forum.</a>
</p>
</div>
</header>
<section class="mypage-section bg-primary text-white mb-0" id="classic">
<div class="container">
<div class="text-center">
<h2 class="mypage-section-heading d-inline-block text-white">
List of Tools</h2>
</div>
<p class="myp">
<ul>
<li class="myp">
<a class="mya" href="https://pdrtpy.readthedocs.io/en/latest/pdrtpy.tool.html#lineratiofit"><i>LineRatioFit</i></a> is used to determine H volume density <span class="math">\(n\)</span> and radiation field <span class="math">\(F_{UV}\)</span> from your observations. Observations can be single pixel or maps and are represented in <code>pdrtpy</code> as <a class="mya" href="https://pdrtpy.readthedocs.io/en/latest/pdrtpy.measurement.html">Measurements</a>.
</li>
<li class="myp">
<a class="mya" href="https://pdrtpy.readthedocs.io/en/latest/pdrtpy.plot.html#lineratioplot"><i>LineRatioPlot</i></a> plots the results of <i>LineRatioFit</i>. It can plot maps of fit results, observations with errors on top of models, chi-square and confidence intervals and more.
</li>
<li class="myp">
<a class="mya" href="https://pdrtpy.readthedocs.io/en/latest/pdrtpy.tool.html#excitation-diagram-fitting">
<i>H2ExcitationFit</i></a> is a tool for fitting temperature, column density, and ortho-to-para ratio in H<sub>2</sub> excitation diagrams. A two temperature model is assumed, and the fit will find warm and cold gas temperatures and column densities,
and optionally ortho-to-para ratio. The base class <i>ExcitationFit</i> can be used to create a tool to fit a different molecule.
</li>
<li class="myp"><a class="mya" href="https://pdrtpy.readthedocs.io/en/latest/pdrtpy.plot.html#excitationplot"><i>ExcitationPlot</i></a> creates excitation diagrams using the results of <i>H2ExcitationFit</i>. It can plot the observed excitation diagram with or without fit results, and allows averaging over user-given spatial areas.
</li>
<li class="myp"><a class="mya" href="https://pdrtpy.readthedocs.io/en/latest/pdrtpy.plot.html#modelplot"> <i>ModelPlot</i></a> is a tool for exploring sets of models. It can plot individual intensity or ratio models, phase-space diagrams, and optionally overlay observations. Units are seamlessly transformed, so you can plot in Habing units, Draine units, or any conformable quantity.
</li>
</ul>
</p>
</div>
</section>
<section class="mypage-section bg-primary text-white mb-0" id="classic">
<div class="container">
<p class="myp">
<div class="text-center">
<h2 class="mypage-section-heading d-inline-block text-white">
Example Jupyter Notebooks</h2></div>
The best way to learn how to use <code>pdrtpy</code> is to install it and work through the notebooks.
We suggest you do the notebooks in this order:
<ul>
<li class="myp">PDRT_Example_Measurements.ipynb</li>
<li class="myp">PDRT_Example_ModelSets.ipynb</li>
<li class="myp">PDRT_Example_Model_Plotting.ipynb</li>
<li class="myp">PDRT_Example_Find_n_G0_Single_Pixel.ipynb</li>
<li class="myp">PDRT_Example_Make_n_G0_maps.ipynb</li>
<li class="myp">PDRT_Example_H2_Excitation.ipynb</li>
</ul>
</p>
</div>
</section>
<section class="mypage-section bg-primary text-white mb-0" id="classic">
<div class="container">
<div class="text-center">
<h2 class="mypage-section-heading d-inline-block text-white">
What About the Web-based PDRT?</h2>
</div>
<p class="myp">
The "classic" PDRT website and tools have now been shut down. We will not update the models or code there. We urge you to transition to
<a class="mya" href="https://pdrtpy.readthedocs.io/en/latest/"><code>pdrtpy</code></a> with alacrity as it already has better functionality and is where all development will be concentrated.
</p>
</div>
</section>
<!--#include virtual="includes/footer.inc" -->
</body>
</html>