pixel CCF
CCF
Initialize the CCF object.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
rv
|
array - like
|
Radial velocity array where the CCF is defined [km/s or astropy unit]. |
required |
intensity
|
array - like
|
CCF intensity array. |
required |
normalize
|
bool
|
If True, normalize the CCF by its median. Default is True. |
True
|
convolved (bool, optional): If True, indicates that the CCF is already convolved with the instrumental profile. Default is False.
Attributes:
| Name | Type | Description |
|---|---|---|
rv |
array - like
|
Radial velocity array. |
intensity |
array - like
|
Normalized or raw CCF intensity array. Indicates if the CCF is convolved. |
n |
int
|
Number of points in the CCF. |
step |
float
|
Step size between consecutive RV points. |
width |
float
|
Maximum absolute value of RV, representing the CCF width. |
_rv_units |
Unit
|
Units of the RV array. |
_vrot |
Quantity
|
Rotational velocity, initialized to zero. |
Source code in SOAP/classes.py
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 | |
n_v
property
Total number of RV bins in the CCF after considering a stellar rotation velocity equal to vrot
vrot
property
writable
Rotation velocity of the star to which the CCF is associated
solarCCF
Bases: CCF
Solar CCF obtained by cross-correlation with a G2 mask (Pepe+2002), which spectra was obtained with the FTS spectrograph, for the quiet Sun (Wallace+1998) or a sunspot umbra(Wallace+1995). Source: https://nso.edu/data/historical-archive/
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
vrot
|
float
|
Rotation velocity of the star (used to select a wider CCF window) |
required |
active_region
|
bool, default False
|
Get the CCF for the active region instead of the quiet Sun |
False
|
Attributes:
| Name | Type | Description |
|---|---|---|
rv |
array - like
|
Radial velocity array where the CCF is defined [km/s]. |
intensity |
array - like
|
CCF intensity array. |
n |
int
|
Number of points in the CCF. |
step |
float
|
Step size between consecutive RV points. |
width |
float
|
Maximum absolute value of RV, representing the CCF width. |
Source code in SOAP/classes.py
gaussianCCF
Bases: CCF
A local stellar CCF modeled by a Gaussian profile, which is a common approximation. The Gaussian is defined by its depth and FWHM, and is centered at a given radial velocity. The CCF is defined over a window of RV values, with a specified step size.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
depth
|
float
|
Amplitude of the CCF, between 0 and 1 |
0.56
|
fwhm
|
float
|
Full width at half maximum of the CCF [km/s] |
2.5
|
RV
|
float
|
Radial velocity where the CCF is centered [km/s] |
0.0
|
window
|
float
|
The CCF is defined between -window and +window [km/s] |
20
|
step
|
float
|
Radial velocity step of the CCF [km/s] |
0.1
|
convolved
|
bool
|
Whether the CCF is already convolved with the instrumental profile. |
True
|
Attributes:
| Name | Type | Description |
|---|---|---|
rv |
array - like
|
Radial velocity array where the CCF is defined [km/s]. |
intensity |
array - like
|
CCF intensity array. |
n |
int
|
Number of points in the CCF. |
step |
float
|
Step size between consecutive RV points [km/s]. |