Skip to content

Initialization of ceffylGPSampler in __main__ doesn't match object initialization method signature.  #31

@davecwright3

Description

@davecwright3

Initialization of ceffylGPSampler in ceffyl.ceffyl_gp.__main__ doesn't match object initialization method signature.

This doesn't effect functionality when using ceffyl/scripts/ceffylgp_general.py as the object is correctly instantiated there.

ceffyl/ceffyl/ceffyl_gp.py

Lines 686 to 690 in 48e7f7f

sampler = ceffylGPSampler(trainedGPdir=trainedGPdir, spectradir=spectradir,
ceffyldir=ceffyldir, hyperparams=hyperparams,
Nfreqs=Nfreqs, outdir=outdir,
analysis_type='holo_spectra', jump=True)

ceffyl/ceffyl/ceffyl_gp.py

Lines 508 to 516 in 48e7f7f

class ceffylGPSampler():
"""
A class to quickly set-up ceffylGP and sample!
"""
def __init__(self, trainedGP, trained_varGP, ceffyldir,
hyperparams, outdir, spectrafile=None,
resume=True, Nfreqs=None, freq_idxs=None,
log10_rho_priors=[-10., -5.9], jump=True,
analysis_type='gp', test_sigma=0.01):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions