Skip to content

Duplicate Proposal for Chromatic GP Noise and GWB Prior Draw #260

@xiaosong-hu

Description

@xiaosong-hu

The code currently contains duplicate proposal additions for both the Chromatic GP noise prior draw and GWB prior draw, which results in the same proposals being added twice to the sampler cycle.

Chromatic GP noise prior draw is added twice:

  1. https://github.com/nanograv/enterprise_extensions/blob/master/enterprise_extensions/hypermodel.py#L281
  2. https://github.com/nanograv/enterprise_extensions/blob/master/enterprise_extensions/hypermodel.py#L291

GWB prior draw is added twice:

  1. https://github.com/nanograv/enterprise_extensions/blob/master/enterprise_extensions/hypermodel.py#L301
  2. https://github.com/nanograv/enterprise_extensions/blob/master/enterprise_extensions/hypermodel.py#L339

    This appears to be an unintentional duplication, likely from a copy-paste operation during development. To ensure proper sampling behavior, please remove the duplicate code blocks so that both the Chromatic GP noise prior draw and GWB prior draw are added only once to the sampler cycle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions