{"id":24749915,"url":"https://github.com/splch/costas-array-generation","last_synced_at":"2025-03-23T03:16:01.375Z","repository":{"id":274320414,"uuid":"922562034","full_name":"splch/costas-array-generation","owner":"splch","description":"This repository provides tools to generate and visualize Costas arrays.","archived":false,"fork":false,"pushed_at":"2025-01-26T18:46:10.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T06:14:28.941Z","etag":null,"topics":["costas","costas-array","costas-arrays"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/splch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-26T14:48:33.000Z","updated_at":"2025-01-27T07:26:04.000Z","dependencies_parsed_at":"2025-01-26T15:42:36.244Z","dependency_job_id":null,"html_url":"https://github.com/splch/costas-array-generation","commit_stats":null,"previous_names":["splch/costas-array-generation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splch%2Fcostas-array-generation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splch%2Fcostas-array-generation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splch%2Fcostas-array-generation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splch%2Fcostas-array-generation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/splch","download_url":"https://codeload.github.com/splch/costas-array-generation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245048282,"owners_count":20552483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["costas","costas-array","costas-arrays"],"created_at":"2025-01-28T08:52:48.059Z","updated_at":"2025-03-23T03:16:01.345Z","avatar_url":"https://github.com/splch.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Costas Array Generator\n\nThis repository provides tools to generate and visualize **Costas arrays**, mathematical structures with applications in radar, sonar, and communications.\n\n## Features\n\n- **Welch Construction** for fast generation when applicable (\\(N+1\\) is prime).\n- **Backtracking Search** as a fallback for general \\(N\\).\n- **Visualization** of arrays using `matplotlib`.\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/splch/costas-array-generation.git\n   cd costas-array-generation\n   ```\n2. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n## Usage\n\n```python\nfrom costas import generate_costas_array, visualize_costas_array\n\nN = 8\nresult = generate_costas_array(N)\n\nprint(\"Costas permutation:\", result)\nvisualize_costas_array(result)\n```\n\n![image](https://github.com/user-attachments/assets/37c24180-7f08-4ed2-a8b5-0bd0f66284d4)\n\nRun examples in the provided `main.ipynb`.\n\n## License\n\nThis project is open-sourced under the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplch%2Fcostas-array-generation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsplch%2Fcostas-array-generation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplch%2Fcostas-array-generation/lists"}