Skip to content

Commit

Permalink
Removes obsolete, commented-out piece of code.
Browse files Browse the repository at this point in the history
  • Loading branch information
aprsa committed Oct 24, 2024
1 parent c5975c3 commit f709b5b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions phoebe/atmospheres/passbands.py
Original file line number Diff line number Diff line change
Expand Up @@ -905,14 +905,6 @@ def compute_intensities(self, atm, path, include_extinction=False, rvs=None, ebv
ext_energy_grid[t] = egrid.reshape(len(ebvs), len(rvs), 1)
ext_photon_grid[t] = pgrid.reshape(len(ebvs), len(rvs), 1)

# WORKS:
# for ei, ebv in enumerate(ebvs):
# for ri, rv in enumerate(rvs):
# Alam = 10**(-0.4 * ebv * (rv * ax + bx))
# t = (teffs[i] == ext_axes[0], loggs[i] == ext_axes[1], abuns[i] == ext_axes[2], ebvs[ei] == ext_axes[3], rvs[ri] == ext_axes[4],0)
# ext_energy_grid[t] = np.trapz(ptf * seds * Alam, wls)[-1] / np.trapz(ptf * seds, wls)[-1]
# ext_photon_grid[t] = np.trapz(wls * ptf * seds * Alam, wls)[-1] / np.trapz(wls * ptf * seds, wls)[-1]

basic_axes = (np.unique(teffs), np.unique(loggs), np.unique(abuns))
self.ndp[atm] = ndpolator.Ndpolator(basic_axes=basic_axes)

Expand Down

0 comments on commit f709b5b

Please sign in to comment.