Skip to content

Instantly share code, notes, and snippets.

# -*- coding: utf-8 -*-
"""A demonstration of Frequency Estimation Based on WLS-SCDE for a dumped sinusoid.
Copyright (C) 2025 by Akira TAMAMORI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
# -*- coding: utf-8 -*-
"""A demonstration of Frequency Estimation Based on WLS-SCDE.
Copyright (C) 2025 by Akira TAMAMORI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
# -*- coding: utf-8 -*-
"""A demonstration of Multiple Pitch Estimation based on FOHCDE.
Copyright (C) 2025 by Akira TAMAMORI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
# -*- coding: utf-8 -*-
"""A demonstration of Fundamental Frequency Estimation Based on FOHCDE.
Copyright (C) 2025 by Akira TAMAMORI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@tam17aki
tam17aki / scde_demo.py
Last active June 2, 2025 23:16
A demonstration of Frequency Estimation Based on SCDE.
# -*- coding: utf-8 -*-
"""A demonstration of Frequency Estimation Based on SCDE.
Copyright (C) 2025 by Akira TAMAMORI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
#!/bin/bash
CURDIR=$(cd $(dirname $0);pwd)
LOGDIR=${CURDIR}/log
mkdir -p ${LOGDIR}
HOPNET=hopnet_dynamics_logistic.py
PYTHON=$(which python)
# -*- coding: utf-8 -*-
"""A demonstration script of Hopfield Network to evaluate dynamics of recall process.
Copyright (C) 2025 by Akira TAMAMORI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
#!/bin/bash
CURDIR=$(cd $(dirname $0);pwd)
LOGDIR=${CURDIR}/log
mkdir -p ${LOGDIR}
HOPNET=hopnet_dynamics.py
PYTHON=$(which python)
@tam17aki
tam17aki / hopnet_dynamics.py
Last active February 27, 2025 05:33
A demonstration Python script of Hopfield Network to evaluate dynamics of recall process.
# -*- coding: utf-8 -*-
"""A demonstration script of Hopfield Network to evaluate dynamics of recall process.
Copyright (C) 2025 by Akira TAMAMORI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@tam17aki
tam17aki / hopnet_dynamics.c
Last active February 21, 2025 09:42
A demonstration of Hopfield Network to evaluate dynamics of recall process.
/* *****************************************************************************
A demonstration of Hopfield Network to evaluate dynamics of recall process.
Copyright (C) 2025 by Akira TAMAMORI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is