Skip to content

upload radex origin revision#15

Open
jzhouastro wants to merge 1 commit intouclchem:masterfrom
jzhouastro:revise_radex_ori
Open

upload radex origin revision#15
jzhouastro wants to merge 1 commit intouclchem:masterfrom
jzhouastro:revise_radex_ori

Conversation

@jzhouastro
Copy link

I have revise some bugs and updates to the original radex code.

  1. About the unconverge solutions: I change the step length during solving the statistic equilibrium equations. Origin is 0.3, now called lr. This avoid almost all of the unconverge solution.
  2. When calculating escape probability, sometimes the optical depth becomes negative temporarily. The previous treatment is exp(-tau), this value can be a very large value which calls bugs. I apply a linear interpolation to the negative value.
  3. (optional) When running parameter grids, the scripts read the molecular file for each time. Now when the file is the same as the molefileold, the program will skip loading the file. The program will 5.5 time faster than before when running the grid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant