Open jburba opened 12 months ago
Using a circular FoV appears to be okay (see figure below comparing results using the test dataset and a square or circular FoV in the sky model). This will need to be tested further (e.g. when including FGs).
simple_za_filter
in Healpix.__init__
to TrueOnce the default is changed to a circular FoV:
Does the location of the center of the sky model matter? I don't remember why I chose to center the sky model above the location of the telescope model. I don't think the location of the center of the map should matter? Should I move the center of the map to a different location?
Regarding question 2 above, I don't think it's worth changing the location of the center of the sky model. It's best to leave this to astropy as it automatically compensates for the direction the beam moves across the sky model (both the direction and speed). This varies as a function of telescope latitude. There's no point in re-inventing the wheel, so going forward we will use the telescope location in the image domain pixel selection.
Should the telescope location become a component of the instrument model? Or is it okay to leave it as a command line argument?
The longitude selection criteria can't properly handle the periodic longitudinal boundary conditions. The example below shows (an unlikely) case where the FoV is set so large that it overlaps with the longitude wrap from 360 to 0 (or equivalently 180 to -180). The FoV gets clipped at this boundary.
Shown below is a filtered white noise map at the HERA longitude with a FoV of 120 deg. The bottom right corner of the masked pixel map is clipped at the longitude wrap (vertical center line of map).
There are two options to fix this:
BayesEoR.model.healpix.Healpix.get_pixel_filter
simple_za_filter=True
kwarg which ignores longitude altogether