Skip to content

Conversation

@kecnry
Copy link
Member

@kecnry kecnry commented Jun 13, 2024

This implements the ability to override the move within the emcee sampler backend via a feature but has not been tested.

To use:

import phoebe

b = phoebe.default_binary()
...
b.add_solver('emcee', solver='emcee01')
b.add_feature('emcee_move', solver='emcee01', feature='move01')
print(b.filter(feature='move01'))

TODO:

  • test to see if this works and is actually useful to have in the code
  • documentation
  • test coverage

@kecnry kecnry marked this pull request as draft June 13, 2024 07:52
@kecnry kecnry force-pushed the emcee_move_feature branch from dd00135 to 350840d Compare June 13, 2024 08:06
@kecnry kecnry force-pushed the emcee_move_feature branch from 350840d to 4f468c4 Compare August 13, 2025 01:37
* allows (optionally) attaching multiple moves with arbitrary probability weights to an emcee solver
* does not currently support RedBlue (as that requires manual subclassing), HM (as that requires a custom callable), or Gaussian (as that requires a passed covariace scalar/vector/matrix).  All other moves supported by emcee are supported with all options exposed
@kecnry kecnry force-pushed the emcee_move_feature branch from 4f468c4 to 0fc3519 Compare September 9, 2025 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant