Jammy2211 / PyAutoGalaxy

PyAutoGalaxy: Open-Source Multiwavelength Galaxy Structure & Morphology
https://pyautogalaxy.readthedocs.io/
MIT License
28 stars 13 forks source link

Unexpected keywords #38

Closed sloneil closed 1 year ago

sloneil commented 2 years ago

In the notebooks InversionPlotter and VoronoiDrawer, the examples calling 'plane.to_inversion.inversion_imaging_from(...)' is passed 'grid=imaging.grid', but this gives the error inversion_imaging_from() got an unexpected keyword argument 'grid'

I also get the error init() got an unexpected keyword argument 'origin' when calling yx_plotter.figure_1d() in the FillBetween notebook

Should these be a different keywords?

sloneil commented 2 years ago

The line result = search.fit(model=model, analysis=analysis) in the light_pixelized notebooks gives: 'Interferometer' object has no attribute 'grid_inversion'

and in MapperPlotter mapper = plane.linear_obj_list_from(grid=grid_2d)[0] gives 'Plane' object has no attribute 'linear_obj_list_from'

Jammy2211 commented 2 years ago

Are you on the master branch of the PyAutoArray / PyAutoGalaxy github repos (via a git clone)?

sloneil commented 2 years ago

I believe I am. I've tried recloning it but still get the same error.

Jammy2211 commented 1 year ago

The updated workspace should fix this, provided you are using the latest master branch of other projects.

A pip release is coming soon, once final tests are complete.