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

Photometry(Data) data can not be inspected #32

Closed SaschaZeegers closed 1 year ago

SaschaZeegers commented 3 years ago

The data in Photometry cannot be inspected because of the repr returns: raise NotImplementedError(). I corrected it in my branch to return self.str(), but I am not sure if this is the best way. The absence of this bit of code caused my code to crash.

ciskakemper commented 3 years ago

To be implemented in master.

pscicluna commented 1 year ago

Need a better way to do this, I will try to come up with a good approach that is cleaner.

jontymarshall commented 1 year ago

We have implemented two ways to get the data out of a set using either data.__str__() or data.geef_data(). We should probably rename the geef_data() function to something more intuitive to users, e.g. data.__data__()?