ARGOS-telescope / argosim

ARGOS radio image reconstruction repository.
MIT License
2 stars 0 forks source link

[NEW FEATURE] Define sources sizes in degrees instead of pixels. #3

Open CentofantiEze opened 1 month ago

CentofantiEze commented 1 month ago

Is your feature request related to a problem? Please describe. The sky model is created for a given FOV size (in degrees) and a fixed number of pixels. The point-like simulated sources have a size defined in pixels. When changing the number of pixels, the size needs to be adjusted to be consistent with the expected point-like sources size in degrees.

Describe the solution you'd like The function n_source_sky(...) should take the sources sizes (pix_size_list) in degrees and internally convert them to pixels.

https://github.com/CentofantiEze/argosim/blob/af6310055f71af077c56c3f6953630275c86deda/src/argosim/data_utils.py#L109