create_meta_pixels#
- stixpy.calibration.visibility.create_meta_pixels(
- pixel_data: RawPixelData | CompressedPixelData | SummedCompressedPixelData,
- time_range: Time,
- energy_range: Quantity, PhysicalType({'energy', 'torque', 'work'})],
- flare_location: SkyCoord | None = None,
- pixels: str = 'top+bot',
- no_shadowing: bool = False,
Create meta-pixels by summing data with in given time and energy range.
- Parameters:
pixel_data – Input pixel data
time_range – Start and end times
energy_range – Start and end energies
flare_location – The coordinates of flare used to calculate grid transmission
pixels – The set of pixels to use to create the meta pixels. Allowed values are ‘all’, ‘big’ (default), ‘small’, ‘top’, ‘bottom’.
no_shadowing (bool optional) – If set to True turn grid shadowing correction off
- Returns:
dict– Visibility data and sub-collimator information