<commit_before>#!/usr/bin/env python
# -*- coding: utf8 -*-
# *****************************************************************
# **       PTS -- Python Toolkit for working with SKIRT          **
# **       © Astronomical Observatory, Ghent University          **
# *****************************************************************

## \package pts.do.magic.interpolate Interpolate an image within regions defined by the user.

# -----------------------------------------------------------------

# Ensure Python 3 compatibility
from __future__ import absolute_import, division, print_function

# Import the relevant PTS classes and modules
from pts.magic.misc.imageimporter import ImageImporter
from pts.magic.tools import interpolation
from pts.magic.region.list import load_as_pixel_region_list
from pts.core.tools import filesystem as fs
from pts.core.basics.configuration import ConfigurationDefinition, parse_arguments
from pts.core.basics.log import log
from pts.magic.core.cutout import interpolation_methods
from pts.magic.core.detection import Detection
from pts.magic.tools import plotting

# -----------------------------------------------------------------

default_method = "biharmonic"
default_interpolation_method = "pts"

# -----------------------------------------------------------------<commit_msg>Changed default interpolation metod<commit_after>#!/usr/bin/env python
# -*- coding: utf8 -*-
# *****************************************************************
# **       PTS -- Python Toolkit for working with SKIRT          **
# **       © Astronomical Observatory, Ghent University          **
# *****************************************************************

## \package pts.do.magic.interpolate Interpolate an image within regions defined by the user.

# -----------------------------------------------------------------

# Ensure Python 3 compatibility
from __future__ import absolute_import, division, print_function

# Import the relevant PTS classes and modules
from pts.magic.misc.imageimporter import ImageImporter
from pts.magic.tools import interpolation
from pts.magic.region.list import load_as_pixel_region_list
from pts.core.tools import filesystem as fs
from pts.core.basics.configuration import ConfigurationDefinition, parse_arguments
from pts.core.basics.log import log
from pts.magic.core.cutout import interpolation_methods
from pts.magic.core.detection import Detection
from pts.magic.tools import plotting

# -----------------------------------------------------------------

#default_method = "biharmonic"
default_method = "pts"
default_interpolation_method = "pts"

# -----------------------------------------------------------------
{'fraction_non_alphanumeric': 0.3012677106636838, 'fraction_numerical': 0.0014914243102162564, 'mean_word_length': 2.4889466840052017, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2190533', 'n_tokens_mistral': 637, 'n_tokens_neox': 589, 'n_words': 179}