cosine_weighted_area_map# smart.calculate_properties.cosine_weighted_area_map(im_map: <sunpy.map.map_factory.MapFactory object at 0x7ff1d3e39a80>)[source]# Calculate the cosine-weighted area map for a feature and determine the feature’s total area. Parameters: im_map (Map) – Processed SunPy magnetogram map. feature_mask (ndarray) – Binary mask where feature pixels = 1 and background pixels = 0. Returns: total_area (Quantity) – The total area of the feature in square metres. area_map (Quantity) – Area map corrected for cosine projection.