<commit_before># -*- coding: utf-8 -*-
"""
Created on Wed Jul 16 10:06:45 2014

@author: <NAME>

Implements the Ideal MHD eigenvalue problem
"""

from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future.builtins import (ascii, bytes, chr, dict, filter, hex, input,
                             int, map, next, oct, open, pow, range, round,
                             str, super, zip)
"""Python 3.x compatability above"""

import scipy.integrate as inte
import scipy.special as spec
import numpy as np
import sys
sys.path.append("../Scripts")
import copy


def f(r, k, m, b_theta, b_z):
    r"""
    Returns F(r).

    Paramters
    ---------
    r: float
        radius at which to evaluate r
    k: float
        axial periodicity number
    m: float
        azimuthal periodicity number
    b_z: float
        axial magnetic field evaluated at r
    b_theta: float<commit_msg>Remove scripts path addition, no longer used<commit_after># -*- coding: utf-8 -*-
"""
Created on Wed Jul 16 10:06:45 2014

@author: <NAME>

Implements the Ideal MHD eigenvalue problem
"""

from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future.builtins import (ascii, bytes, chr, dict, filter, hex, input,
                             int, map, next, oct, open, pow, range, round,
                             str, super, zip)
"""Python 3.x compatability above"""

import scipy.integrate as inte
import scipy.special as spec
import numpy as np
import sys
import copy


def f(r, k, m, b_theta, b_z):
    r"""
    Returns F(r).

    Paramters
    ---------
    r: float
        radius at which to evaluate r
    k: float
        axial periodicity number
    m: float
        azimuthal periodicity number
    b_z: float
        axial magnetic field evaluated at r
    b_theta: float
{'fraction_non_alphanumeric': 0.08999470619375331, 'fraction_numerical': 0.014822657490735839, 'mean_word_length': 2.4806629834254146, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6475649', 'n_tokens_mistral': 585, 'n_tokens_neox': 546, 'n_words': 224}