-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Added a `calc_luminosity()` function that takes a parameter `use_bandwidth` to choose between bandwidth and central observing frequency. * Modified `calc_energy()` to now use `obs_freq_central` by default instead of `obs_bandwidth` * Added checks on units passed to Frb. If the units are incompatible it will return an error, otherwise it with use the units specified rather than the default. * Added tests for new luminosity and energy functions. * Added tests for correct and incorrect units in Frb.
- Loading branch information
Showing
2 changed files
with
208 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.