ICSM / ampere

A tool to fit the SED and spectra of dusty objects to constrain, among other things, the dust properties and mineralogy
6 stars 2 forks source link

Generalise chunking of spectra in fromTable() #55

Closed pscicluna closed 1 year ago

pscicluna commented 2 years ago

The way spectra are split into chunks is currently quite specific. This should be generalised, and a try: except: needs to be added to cover the case of a spectrum which does not need to be divided up into chunks.

jontymarshall commented 1 year ago

Added try/except statement to fromTable() class method in spectrum.py to deal with this.