.. include:: ../../gcsubstitutions.txt

.. _PKGCOutputCROSS:

Output - Cross [Power Spectrum Multipoles and Window Product]
===============================================================

$SetSchemaPath le3/gc/euc-le3-gc-pkpf-cross.xsd

Data Product Name
__________________
.. DataProductNameStart

$PrintDataProductName

.. DataProductNameEnd

Data Product Custodian
________________________
.. DataProductCustodianStart

$PrintDataProductCustodian

.. DataProductCustodianEnd

Name of the Schema File
________________________
.. NameSchemaStart

$PrintSchemaFilename

.. NameSchemaEnd

Last Edited for DPDD Version
____________________________
.. DpddVersionlTagStart

1.1

.. DpddVersionTagEnd

Processing Elements Creating / Updating / Using the Product
___________________________________________________________
.. PECreatorStart

**Creators:**

* LE3_GC_PK

**Consumers:**

* LE3_GC_CMPK

.. PECreatorEnd

Processing function using the data product
____________________________________________
.. PFUsingStart

* LE3_GC_PowerSpectumCovariance
* This is a SGS pipeline final output product to be used by SWGs.

.. PFUsingEnd

Proposed for inclusion in EAS/SAS
_________________________________

.. IncludeInSASStart

This product is proposed for inclusion in the SAS: Yes

Is going to be used by the SWG-GC for their scientific analysis.

.. IncludeInSASEnd

Data Product Elements
______________________
.. DataProductElementsStart

$PrintDataProductElements

.. DataProductElementsEnd

Detailed Description of the Data Product
_________________________________________
.. DetailedDescStart

This output product is the cross power spectrum calculated over 2 input data catalog
and 2 input random catalogs.
The product contains 2 FITS files relative to cross spectrum multipoles 0 to 4 and
the Window Function

The FITS files are organized into 3 tables HDU containing the ``CROSS_SPECTRUM``,
the ``SPECTRUM_1`` for the first couple of catalogs and the ``SPECTRUM_2`` for the
second couple of catalogs.

XML Keywords
^^^^^^^^^^^^
The product contains the following keywords:

**DataCatalog1**
  Name of input DATA catalog 1
**RandCatalog1**
  Name of input RANDOM catalog 1
**DataCatalog2**
  Name of input DATA catalog 2
**RandCatalog2**
  Name of input RANDOM catalog 2
**Statistics**
  Statistics used to evaluate PK
**NbarMethod1**
  Method used for Nbar calculation with catalogs 1
**NbarMethod2**
  Method used for Nbar calculation with catalogs 2
**NFT**
  Number of grid Points
**BoxSide**
  Side of the box containing the catalog objects
**MASscheme**
  Mass Assignment Schema used for density fields
**UseFKPweight**
  FKP weighting was enabled/disabled
**Pest**
  Estimated value for PK used for weighting
**UseInterlacing**
  Interlacing field usage enabled/disabled
**BinType**
  Binning scale: LIN/LOG
**BinNumDat**
  Number of bins in the Data Catalog spectrum
**KminDat**
  Minimum K value in output in the Data Catalog spectrum
**KmaxDat**
  Maximum K value in output in the Data Catalog spectrum
**DeltaKdat**
  Bin size in the Data Catalog spectrum
**BinNumWin**
  Number of bins in the Data Catalog spectrum
**KminWin**
  Minimum K value in output in the Random Catalog spectrum
**KmaxWin**
  Maximum K value in output in the Random Catalog spectrum
**DeltaKwin**
  Bin size in the Random Catalog spectrum
**ReconstructionID**
  Identirfier for the reconstruction used
**CosmologyID**
  Cosmology used
**ReleaseName**
  Name of the release
**CrossSpectrumFile**
  :ref:`FITS<gcpkspefilecross>` file with the Cross Spectrum Multipoles 0, 1, 2, 3, 4 and sigle spectra Multipoles 0, 1, 2, 3, 4
**CrossWindowFile**
  :ref:`FITS<gcpkspefilewincross>` file with the Cross Spectrum Multipoles 0,1,2,3,4 and sigle spectra Multipoles 0, 1, 2, 3, 4 for the window function


.. _gcpkspefilecross:

**CrossSpectrumFile** FITS file
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The FITS type *le3.gc.pkpf.spe.cross* contains three binary tables HDUs named **CROSS_SPECTRUM**,
**SPECTRUM_1** and **SPECTRUM_2** with the following structures:

$PrintHDUTableContents fit/euc-le3-gc.xml le3.gc.pkpf.spe.cross CROSS_SPECTRUM


$PrintHDUTableContents fit/euc-test-le3-gc.xml le3.gc.pkpf.spe.cross SPECTRUM_1


$PrintHDUTableContents fit/euc-test-le3-gc.xml le3.gc.pkpf.spe.cross SPECTRUM_2


.. _gcpkspefilewincross:

**CrossWindowFile** FITS file
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The window function data are stored in the same structure of the 1D :ref:`CrossSpectrumFile<gcpkspefilecross>`


.. DetailedDescEnd