-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathstatic.py
40 lines (33 loc) · 891 Bytes
/
static.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- mode: python; coding: utf-8 -*-
#
# Copyright (C) 2023 Benjamin Thomas Schwertfeger
# All rights reserved.
# https://github.com/btschwertfeger
#
"""Module providing static information for the python-cmethods package"""
from __future__ import annotations
from typing import List
SCALING_METHODS: List[str] = [
"linear_scaling",
"variance_scaling",
"delta_method",
]
DISTRIBUTION_METHODS: List[str] = [
"quantile_mapping",
"detrended_quantile_mapping",
"quantile_delta_mapping",
]
CUSTOM_METHODS: List[str] = SCALING_METHODS + DISTRIBUTION_METHODS
METHODS: List[str] = CUSTOM_METHODS
ADDITIVE: List[str] = ["+", "add"]
MULTIPLICATIVE: List[str] = ["*", "mult"]
MAX_SCALING_FACTOR: int = 10
__all__ = [
"ADDITIVE",
"CUSTOM_METHODS",
"DISTRIBUTION_METHODS",
"MAX_SCALING_FACTOR",
"METHODS",
"MULTIPLICATIVE",
"SCALING_METHODS",
]