{"id":28942819,"url":"https://github.com/taurusolson/emspectrum","last_synced_at":"2025-10-10T22:16:43.192Z","repository":{"id":66847573,"uuid":"1991851","full_name":"TaurusOlson/EMSpectrum","owner":"TaurusOlson","description":"A handy tool to handle frequencies and wavelengths of the electromagnetic spectrum","archived":false,"fork":false,"pushed_at":"2011-10-31T13:20:34.000Z","size":168,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-03T17:57:52.270Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TaurusOlson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-07-03T17:37:37.000Z","updated_at":"2023-11-13T14:35:39.000Z","dependencies_parsed_at":"2023-02-20T12:45:42.051Z","dependency_job_id":null,"html_url":"https://github.com/TaurusOlson/EMSpectrum","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TaurusOlson/EMSpectrum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TaurusOlson%2FEMSpectrum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TaurusOlson%2FEMSpectrum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TaurusOlson%2FEMSpectrum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TaurusOlson%2FEMSpectrum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TaurusOlson","download_url":"https://codeload.github.com/TaurusOlson/EMSpectrum/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TaurusOlson%2FEMSpectrum/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005467,"owners_count":26083900,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-06-23T04:04:40.316Z","updated_at":"2025-10-10T22:16:43.156Z","avatar_url":"https://github.com/TaurusOlson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Electromagnetic Spectrum\n\n\nEMSpectrum is a little script to handle frequencies and wavelengths values of\nthe electromagnetic spectrum. It is basically classes providing a few\nconvenient methods to \n\n\n* determine in which part of the spectrum a given value is\n\n* convert:\n    * wavelengths to frequencies\n    * frequencies to wavelengths\n    * units of magnitude\n\n\n# EXAMPLE\n\n* Instantiate an EMSpectrum object:\n\n\n        ems = EMSpectrum()\n\n\n* Determine the frequency range of the infrared spectrum\n\n    \n        \u003e\u003e\u003e ems.infrared_rad.freq\n        \u003e\u003e\u003e [300000000000.0, 100000000000000.0]\n        \u003e\u003e\u003e ems.infrared_rad.freq_unit\n        \u003e\u003e\u003e 'Hz'\n\n\n* Convert the frequency range of the infrared spectrum in wavelength\n\n    \n        \u003e\u003e\u003e ems.infrared_rad.freq.to_wave()\n        \u003e\u003e\u003e [3e-06, 0.001]\n        \u003e\u003e\u003e ems.infrared_rad.wave_unit\n        \u003e\u003e\u003e 'm'\n\n\n# TODO\n\n* Sort the ranges properly\n* Write some tests\n* Add dynamic methods\n* Improve the documentation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaurusolson%2Femspectrum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaurusolson%2Femspectrum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaurusolson%2Femspectrum/lists"}