You asked
Is the panasonic lumix s 24mm f 1 8 good for astrophotography?
The guide doesn't cover astrophotography directly, so this is an answer from the lens's specs and the guide's general reasoning about dim light.
The Panasonic Lumix S 24mm f/1.8 is a full-frame prime with a fast f/1.8 maximum aperture. For night sky work, that matters most. A fast lens gathers more light, so you can keep exposures short enough to limit star trails. The guide's advice for dim scenes is to prioritise a fast aperture and a larger sensor over stabilisation. The 24mm focal length is a sensible wide view for the Milky Way across a landscape.
The lens isn't stabilised, though. Stabilisation steadies the camera, not the stars, so a sturdy tripod and a remote release will do more for sharp night shots than image stabilisation would. Use the lens on full frame: on APS-C it frames like 36mm, which is less wide for a night sky, and the focal length converter explains how the crop changes depth of field.
It fits several full-frame bodies, including the Panasonic Lumix S5 II, the Panasonic Lumix S1 II and the Panasonic Lumix S9. The guide doesn't give their low-light performance here, so compare them on that before buying.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.