Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mtakahiro committed Nov 19, 2022
1 parent d311745 commit ab9d84c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion docs/parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ An example config file can be generated by executing the following command (TBD)
* - AMIN
- str
- (Optional) Minimum value for amplitude, in normal logarithmic scale.
* - DUST_MODEL
- int
- Dust attenuation model (default 0). 0 for Calzetti. 1 for MW. 2 for LCM. 3 for SMC. 4 for Kriek & Conroy (2013).
* - AVMAX
- float
- (Optional) Maximum value for Av (dust attenuation in V-band), in mag.
Expand Down Expand Up @@ -171,7 +174,7 @@ An example config file can be generated by executing the following command (TBD)
-


**Parameters for a specific target:**
**Parameters specific for the target:**

.. list-table::
:widths: 10 5 20
Expand Down
4 changes: 2 additions & 2 deletions gsf/function_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def open_spec_fits_dir(self, nage:int, nz:int, kk, Av00:float, zgal:float, A00:f
elif self.dust_model == 4: # Kriek&Conroy with gamma=-0.2
yyd, xxd, nrd = dust_kc(xx, yy, Av00, nr, Rv=4.05, gamma=-0.2)
else:
print('No entry. Dust model is set to Calzetti')
print('No valid entry. Dust model is set to Calzetti')
yyd, xxd, nrd = dust_calz(xx, yy, Av00, nr)

xxd *= (1.+zgal)
Expand Down Expand Up @@ -940,7 +940,7 @@ def open_spec_fits_dir(self, nage, nz, kk, Av00, zgal, A00):
elif self.dust_model == 4: # Kriek&Conroy with gamma=-0.2
yyd, xxd, nrd = dust_kc(xx, yy, Av00, nr, Rv=4.05, gamma=-0.2)
else:
print('No entry. Dust model is set to Calzetti')
print('No valid entry. Dust model is set to Calzetti')
yyd, xxd, nrd = dust_calz(xx, yy, Av00, nr)

xxd *= (1.+zgal)
Expand Down

0 comments on commit ab9d84c

Please sign in to comment.