Skip to content

Commit

Permalink
Remove the load_xsXXX convolution routines.
Browse files Browse the repository at this point in the history
  • Loading branch information
DougBurke committed Jul 22, 2015
1 parent b6c560c commit 36eff83
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 723 deletions.
11 changes: 0 additions & 11 deletions sherpa/astro/ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,6 @@
'set_xscosmo', 'set_xsxsect', 'set_xsxset',
'get_xsxset'))

# Add in convolution models; I don't want to hard-code in the
# names, to make it easier to support different versions of
# the XSpec library.
#
# Is this still needed now that the models are added directly?
#
for n in [n for n in dir(sherpa.astro.xspec) if
n.startswith('load_xs') and n != 'load_xsconvolve']:
globals()[n] = getattr(sherpa.astro.xspec, n)
__all__.append(n)

__all__.extend(_session._export_names(globals()))

__all__.append('_session')
Expand Down
Loading

0 comments on commit 36eff83

Please sign in to comment.