Changelogs » Phoebe

PyUp Safety actively tracks 232,000 Python packages for vulnerabilities and notifies you when to upgrade.



* fix overriding mesh_init_phi as kwarg to run_compute
  * fix pblum computation to not require irrad_method kwarg
  * fix bundle representation to exclude hidden parameters


* Improves the detection of g++/gcc version to compare against requirements during setup.


* Add support for interstellar extinction/reddening.
  * Support for Python 3.6+ in addition to Python 2.7+.
  * Overhaul of limb-darkening with new ld_mode and ld_coeffs_source parameters.
  * Overhaul of passband luminosity and flux scaling with new pblum_mode parameter, including support for maintaining color relations between multiple passbands.
  * Ability to provide third light in either flux or percentage units, via the new l3_mode and l3_frac parameters.
  * Support for computing a model at different times than the observations, via the new compute_times or computes_phases parameter.
  * Transition from pickled to FITS passband files, with automatic detection for available updates.  The tables can now also be accessed via
  * DISABLED support for beaming/boosting.
  * Allow flipping Kepler's thrid law constraint to solve for q.
  * Require overwrite=True during add_* or run_* methods that would result in overwriting an existing label.
  * Constraint for logg.
  * Account for time-dependence (dpdt/dperdt) in t0 constraints.


* Future-proof to ignore for passband files with extensions other than ".pb" which may be introduced in future versions of PHOEBE.


* Fixes bug where irradiation was over-optimized and not recomputed as needed for
  eccentric or misaligned orbits. Introduced in the optimizations in 2.1.6.


* Fixes 'long' location of spots on single stars.
  * Fixes treatment of spots on secondary 'half' of contact systems.
  * Fixes loading legacy files with a spot that has source of 0 due to a bug in legacy.
  * Fixes overriding 'ntriangles' by passing keyword argument to run_compute.


* Fixes the polar rotation axis for RVs in contact systems with non-90 inclinations
  by re-enabling the alignment (pitch, yaw) constraints and enforcing them to be 0.


* Fixes infinite loop when trying to flip esinw AND ecosw
  * Adds ability to flip mass (Kepler's third law) to solve for q
  * Fixes bug introduced in 2.1.9 in which out-of-limits constrained parameters in an envelope were being raised before all constraints could resolve successfully.


* Fixes applying t0 when importing legacy dataset which use phase.
  * Fixes ignoring other compute options when running checks on kwargs during run_compute.


* Fixes loading legacy datasets which use phase (by translating to time with the current ephemeris).
  * Fixes loading legacy datasets with errors in magnitudes (by converting to errors in flux units).
  * Fixes plotting RV datasets in which only one component has times (which is often the case when importing from a legacy file).


* Removes ldint from the weights in the computations of RVs and LPs.


* Fixes a bug where parameter limits were not being checked and out-of-limits errors not raised correctly.


* Fixes a bug where certain parameters would cause the meshing algorithm to fail to converge.  With this fix, up to 4 additional attempts will be made with random initial starting locations which should converge for most cases.


comparison operators bugfix:
  * Fixes a bug where comparisons between Parameters/ParameterSets and values were returning nonsensical values.
  * Comparing ParameterSets with any object will now return a NotImplementedError
  * Comparing Parameters will compare against the value or quantity, with default units when applicable.
  * Comparing equivalence between two Parameter objects will compare the uniqueids of the Parameters, NOT the values.


optimization bugfix:
  * Fixes a bug where automatic detection of eclipses was failing to properly fallback on only detecting the horizon.
  * Introduces several other significant optimizations, particularly in run_compute.


bugfix release for get_orbits and lineprofiles for single star systems.


bugfix release for freq constraint when flipped to solve for period instead of frequency.


bugfix release for overflow error in semi-detached systems


bugfix release changing all constraints to be in solar units instead of SI to address insufficient precision.


fix auto-detection of MPI environment for non-openmpi installations.


spin-orbit misalignment release (see changelog for an abbreviated list of changes)


Set astropy dependency to be >=1.0 and < 3.0 (as astropy 3.0 requires python 3).


Fix bug in importing PHOEBE legacy files that contain extraneous spaces/whitespace.


Fix bug in which datasets created after loading JSON file were ignored by run_compute.


Bugfixes and hiding unused Parameters for contact binary systems.


Minor bugfixes to import/export of PHOEBE legacy files


Check for compatible units when converting and raise an error when not compatible.


Support for semi-detached systems, including fixing bug in importing semi-detached systems from a PHOEBE legacy file.


Temporary patch to the treatment of vgamma.  Definition of vgamma will change to match that of phoebe legacy in the 2.1 release.  See the changelog for more details.


Bugfix for the t0_* parameters. See the changelog for more details.