Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed unused scattering-time scaling. #86

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions fitburst/analysis/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,15 +215,7 @@ def compute_model(self, data: float = None) -> float:
self.factor_time_upsample
)

# first, adjust scattering timescale to current frequency label(s).
current_sc_time_scaled = rt.ism.compute_time_scattering(
current_freq_arr,
current_ref_freq,
current_sc_time,
current_sc_idx
)

# second, compute raw temporal profile.
# next, compute and store raw temporal profile.
current_profile = self.compute_profile(
current_times_arr,
0.0, # since 'current_times' is already corrected for DM.
Expand All @@ -240,7 +232,7 @@ def compute_model(self, data: float = None) -> float:
self.factor_time_upsample
)

# third, compute and scale profile by spectral energy distribution.
# next, compute and scale profile by the spectral energy distribution.
current_profile *= rt.spectrum.compute_spectrum_rpl(
current_freq_arr,
current_ref_freq,
Expand Down
Loading