This repository has been archived by the owner on Jun 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__init__.py
42 lines (37 loc) · 2.47 KB
/
__init__.py
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
#!/usr/bin/env python3.7
# -*- coding: UTF-8 -*-
"""The ``phot_class`` package applies the photometric fitting technique from
González-Gaitan et al. 2014 to identify peculiar Type Ia Supernovae (SNe Ia).
It provides multiple light curve fitting routines, various utilities for
parsing and manipulating data, and functions for tabulating fitting and
classification results for an entire photometric survey. For usage examples,
please see the individual documentation of each module.
Modules
-------
+--------------------+--------------------------------------------------------+
| Module Name | Description |
+====================+========================================================+
| ``classification`` | Tabulates light-curve fits for a given survey and |
| | determines the corresponding classification |
| | coordinates. |
+--------------------+--------------------------------------------------------+
| ``fit_func_wraps`` | Provides wrapped versions of ``sncosmo`` minimization |
| | routines to address bugs. |
+--------------------+--------------------------------------------------------+
| ``fitting`` | Runs a series of fits on individual light-curves and |
| | tabulates the results. |
+--------------------+--------------------------------------------------------+
| ``fom`` | Calculates the Figure of Merit (FOM) parameter. |
+--------------------+--------------------------------------------------------+
| ``models`` | Defines custom ``Source`` classes for modeling |
| | supernovae with sncosmo. |
+--------------------+--------------------------------------------------------+
| ``simulation`` | Simulates light-curves using ``sncosmo``. |
+--------------------+--------------------------------------------------------+
| ``spectra`` | tabulates the properties of spectral features. |
+--------------------+--------------------------------------------------------+
| ``utils`` | A collection of general utilities. |
+--------------------+--------------------------------------------------------+
"""
from pathlib import Path as _Path
dust_path = _Path(__file__).resolve().parent / 'schlegel98_dust_map'