Skip to content

Commit

Permalink
removed old slice method
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodot- committed Jul 29, 2024
1 parent 54cf624 commit 4a82dca
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions tardis/transport/montecarlo/numba_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,32 +146,6 @@ def __getitem__(self, i):
self.k_packet_idx,
)

def slice(self, i, j):
return OpacityState(
self.electron_density[i:j],
self.t_electrons[i:j],
self.line_list_nu,
self.tau_sobolev[:, i:j],
self.transition_probabilities[:, i:j],
self.line2macro_level_upper,
self.macro_block_references,
self.transition_type,
self.destination_level_id,
self.transition_line_id,
self.bf_threshold_list_nu,
self.p_fb_deactivation,
self.photo_ion_nu_threshold_mins,
self.photo_ion_nu_threshold_maxs,
self.photo_ion_block_references,
self.chi_bf,
self.x_sect,
self.phot_nus,
self.ff_opacity_factor,
self.emissivities,
self.photo_ion_activation_idx,
self.k_packet_idx,
)


def opacity_state_initialize(
plasma,
Expand Down

0 comments on commit 4a82dca

Please sign in to comment.