TODO’s

This is a list of all the things that marked as todo in the code. Maybe you find
something you would like to fix!
Todo
make it an abstract class that requires the child classes to implement the load_reactions routine.
properly define what is an ice species, e.g. add routines such as
species_is_ice
which can be overwritten.
properly define non-species, also allow to overwrite that in subclass e.g. routine species_is_nonspecies
original entry
Todo
use
parse_stoichiometry()
to be consistent in the parsing of the species names.
original entry
Todo
Include reading of T-dependent rates for the csv format.
more sophisticated guessing of the file format.
original entry
Todo
make tolerances configurable via config file (see punit checkModels).
original entry
Todo
it might be worth to make this smarter and compare the individual line estimates.
currently the comparison fails if e.g. there are more level for one line … but the rest is fine
original entry
Todo
Applying this method can introduce some numerical errors due to
a lot of conversions and interpolations. However, these should be
<0.5%. And as this routint is used for fitting it should not be an issue.
However, the error most likely comes from calculating the gas and dust
surface densities when a ProDiMo model is read (those are not calculated
within ProDiMo). So maybe this
calc_surfd()
should be made more accurate.
original entry
Todo
something very similar is done in toProDiMo. Maybe that can be merged somehow.
original entry
Todo
make a testcase and check if it works with newer versions
original entry
Todo
if zoomto estimate vmin/vmax from that region only
original entry
Todo
it is not possible to set the xlim (offset) coordinate in arcsec. Requires likely the conversion form pix to arcsec or vice versa
original entry
Todo
not really general, should be more flexible (i.e. colors)
requires better documentation to make it more general
original entry
Todo
Option for passing a norm (
matplotlib.colors.LogNorm
). But that does not work nicely with contourf and colorbars … works with imshow and pcolormesh though … maybe switch to pcolormesh.
original entry
Todo
can be improved with better and smarter default values (e.g. for the colorbar)
original entry
Todo
Currently at most 10 reactions can be plotted (i.e. 10 colors are used).
Currently the axes are fixed:
y=z/r
and
x=log(r)
au.
original entry
Todo
possibility to have different oconts for the heating and cooling figures
possibility to map certain heating/cooling processes always to the same color
original entry
Todo
provide a field for label strings (arbitrary values) need to be the same size as levels
original entry
Todo
Redesign this. it is not very useful to have this dokwargs legend etc. routines copied all the time.
original entry
Todo
maybe two routines, one for lines and one for lineEstimates (sharing the commong parts)
if not FlineEstimates than it would be possible to plot all lines for which line transfer is done (would make things a bit easier)
original entry
Todo
Make this a wrapper of
plot_vertical()
. Just pass
nmol
as fieldname and
species name
original entry
Todo
implement things from plot_midplane (e.g. species)
original entry
Todo
proper documentation
original entry
Todo
find a better solution for the multiple inclinations (Problem: don’t want to read through the whole file).
original entry
Todo
check the correctness of the calculation
provide a proper reference for the procedure we follow.
allow for more flexibility
original entry
Todo
dust composition is not yet read.
original entry
Todo
is not yet included in Data_ProDiMo
original entry
Todo
maybe put all the (real) observational data into one object (e.g. also the lines) e.g.DataObservations
maybe also have something like DataObservables (hold, SED, imaged, lines etc.)
original entry
Todo
is this really needed, should rather be a method within
prodimopy.read.Data_ProDiMo
original entry
Todo
This is quick and dirty. However, the problem is more in
ProDiMo
because
it is unclear what file is for what and when (depending on parameter configuration)
which file is written.
This does not deal with the two e- like in the normal mode. This is inconsistent.
original entry