brahmap.core.compute_GLS_maps¶
Computes the Generalized Least Squares (GLS) maps directly from raw pointing information and time-ordered data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
npix
|
int
|
Number of pixels on which the map-making has to be done (e.g.
|
required |
pointings
|
NDArray[integer]
|
A 1-d array of pixel indices pointing to the sky map for each time sample |
required |
time_ordered_data
|
NDArray[number]
|
The 1D vector representing the time-ordered data (TOD) streams |
required |
pointings_flag
|
NDArray[bool_] | None
|
A 1-d boolean array where |
None
|
pol_angles
|
NDArray[number] | None
|
A 1-d array containing the polarization orientation angles of the
detectors for each sample, by default |
None
|
inv_noise_cov_operator
|
DTypeNoiseCov | None
|
The inverse noise covariance linear operator (\(N^{-1}\)), by default |
None
|
threshold
|
float
|
The condition number threshold used to flag degenerate or
under-sampled pixels, by default |
1e-05
|
dtype_float
|
DTypeFloat | None
|
The data type used for floating-point arrays, by default |
None
|
update_pointings_inplace
|
bool
|
Whether to update the pointing arrays in-place, by default |
True
|
gls_parameters
|
GLSParameters
|
The parameter configuration dictating the map-making behavior, by
default |
GLSParameters()
|
x0
|
NDArray[number] | None
|
Initial guess for the GLS solution in the form of interleaved
maps (e.g. \([I_1, Q_1, U_1, I_2, Q_2, U_2, \dots]\)), by default |
None
|
Returns:
| Type | Description |
|---|---|
GLSResult | tuple[ProcessTimeSamples, GLSResult]
|
GLSResult The dataclass containing the final output from the GLS map-maker, optionally returning the processed samples container |
Source code in brahmap/core/GLS.py
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 | |