Several minor modifications and debugs on LightCurve Object Class. One minor modification on Occultation Object Class, relative to the radial dispersion after the fit.
LightCurve
1. Less automatic control at _LightCurve.plotlc() and _LightCurve.plotmodel(), more freedom to the user;
2. Implemented _LightCurve.tolog() that creates an ASCII file with the information inside the print(LightCurve) ;
3. Debug on _LightCurve.tofile(), names with folders end up with errors;
4. Added automatic mode for _LightCurve.tofile();
5. Changed opa_ampli variable to opacity, the meaning of the variable is clearer;
6. Added LightCurve.model inside _LightCurve.setflux(), if the set_flux() were used the LightCurve.model was not created and this could raise errors in the other functions;
7. Removed duplicity on LightCurve.model, now only inside the _LightCurve.setflux();
8. Function _LightCurve.setdiam() changed to _LightCurve.set_stardiam(), the meaning of the function is clearer;
9. Debug in _LightCurve.setvel(), typo found within the unit check;
10. Removed duplicity on del(LightCurve), two similar functions were merged;
11. Added _LightCurve.checknames(), useful for tests and checks.
Occultation
1. _LightCurve.setdiam() changed to _LightCurve.set_stardiam() within _Occultation.addobserver();
2. Added mean value and standard deviation to radial dispersion within _Occultation.chi2_param['radialdispersion'], print(Occultation) were changed accordingly.
Several minor modifications and debugs on LightCurve Object Class. One minor modification on Occultation Object Class, relative to the radial dispersion after the fit.
1. Less automatic control at _LightCurve.plotlc() and _LightCurve.plotmodel(), more freedom to the user; 2. Implemented _LightCurve.tolog() that creates an ASCII file with the information inside the print(LightCurve) ; 3. Debug on _LightCurve.tofile(), names with folders end up with errors; 4. Added automatic mode for _LightCurve.tofile(); 5. Changed opa_ampli variable to opacity, the meaning of the variable is clearer; 6. Added LightCurve.model inside _LightCurve.setflux(), if the set_flux() were used the LightCurve.model was not created and this could raise errors in the other functions; 7. Removed duplicity on LightCurve.model, now only inside the _LightCurve.setflux(); 8. Function _LightCurve.setdiam() changed to _LightCurve.set_stardiam(), the meaning of the function is clearer; 9. Debug in _LightCurve.setvel(), typo found within the unit check; 10. Removed duplicity on del(LightCurve), two similar functions were merged; 11. Added _LightCurve.checknames(), useful for tests and checks.
1. _LightCurve.setdiam() changed to _LightCurve.set_stardiam() within _Occultation.addobserver(); 2. Added mean value and standard deviation to radial dispersion within _Occultation.chi2_param['radialdispersion'], print(Occultation) were changed accordingly.