Skip to main content

A universal approach to optimal frequency identification using nonparametric kernel regression

Project description

FINKER Logo

Overview

FINKER (Frequency Identification through Nonparametric Kernel Regression) is an advanced statistical tool for optimal frequency identification using nonparametric kernel regression. It is designed to offer more accurate estimation in various contexts, including handling measurement uncertainties and facilitating multiband processing, even with as few as 10 observations. The project leverages the power of kernel regression methods to provide robust, flexible analysis, particularly valuable in astronomical and statistical applications.

Features

  • Local Linear and Constant Regression: Utilizes local regression techniques for precise modeling.
  • Kernel Functions and Bandwidth Calculation: Includes Gaussian kernel and implements a custom fixed bandwidth for computational efficiency. Multiple other options are available: Silverman's rule, Scott's rule, and an Adaptive bandwidth.
  • Multiband Processing: Capable of handling multi-band data efficiently.
  • Error Handling: Robust to measurement uncertainties, enhancing reliability in real-world datasets.

Installation

To use FINKER, clone the repository or install with:

pip install FINKER

Usage

Here's a simple example to demonstrate the use of FINKER's kernel regression functions:

from FINKER.utils_FINKER import *

# Creating a FINKER instance
finker = FINKER()

# Running a parallel FINKER search
best_freq, freq_err, result_dict = finker.parallel_nonparametric_kernel_regression(
    t_observed=t_observed,
    y_observed=y_observed,
    uncertainties=uncertainties,
    freq_list=freq,
    show_plot=False,
    kernel_type='gaussian',
    regression_type='local_constant',
    bandwidth_method='custom',
    n_jobs=-2
)

Replace t_observed, y_observed, and uncertainties with numpy arrays of your observations. Replace freq with a numpy array of the ferquencies to search.

Contributing

Contributions to FINKER are welcome! Please read our contributing guidelines for more information on how to get involved.

License

This project is licensed under the Apache License - see the LICENSE file for details.

Contact

For any queries or further information, please reach out to f.stoppa@astro.ru.nl.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FINKER-1.0.1.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

FINKER-1.0.1-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file FINKER-1.0.1.tar.gz.

File metadata

  • Download URL: FINKER-1.0.1.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for FINKER-1.0.1.tar.gz
Algorithm Hash digest
SHA256 bfb528c169ac81dbcaaf6390f51e37171c65b771387ee87cc3f416c1573dcd97
MD5 7ac71b6491a350e699d2f6c86d992a18
BLAKE2b-256 5bf0287725e7cb75cecbae4f0f8136da9c3d488fc0da31eb9613ab7785d48f6b

See more details on using hashes here.

File details

Details for the file FINKER-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: FINKER-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for FINKER-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c91a7cd486b54e3327516f718980d8dba15025e69e5810e8bfbee37b35951028
MD5 dbef9094edc5bf2a488b9ab52a9b6e81
BLAKE2b-256 bf4ffa78336079d94e7060ebff5b034971be5bebc40f1f6a081da26f8f267bde

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page