{"id":18290223,"url":"https://github.com/deshima-dev/dems","last_synced_at":"2025-04-05T10:30:39.059Z","repository":{"id":86744900,"uuid":"557339339","full_name":"deshima-dev/dems","owner":"deshima-dev","description":":truck: DESHIMA measurement set by DataArray","archived":false,"fork":false,"pushed_at":"2024-08-09T11:51:59.000Z","size":168,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T02:32:33.727Z","etag":null,"topics":["astronomy","data-format","deshima","measurement-set","python","radio-astronomy","spectroscopy","xarray"],"latest_commit_sha":null,"homepage":"","language":"Python","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/deshima-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-25T14:05:56.000Z","updated_at":"2024-08-09T11:51:57.000Z","dependencies_parsed_at":"2023-10-16T21:51:17.402Z","dependency_job_id":"50071f84-a3fc-4bf8-a459-ef2c382aceef","html_url":"https://github.com/deshima-dev/dems","commit_stats":{"total_commits":78,"total_committers":1,"mean_commits":78.0,"dds":0.0,"last_synced_commit":"40197a47c167479244c62bd37a5ae39637cd58cb"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deshima-dev%2Fdems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deshima-dev%2Fdems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deshima-dev%2Fdems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deshima-dev%2Fdems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deshima-dev","download_url":"https://codeload.github.com/deshima-dev/dems/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247324323,"owners_count":20920622,"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":["astronomy","data-format","deshima","measurement-set","python","radio-astronomy","spectroscopy","xarray"],"created_at":"2024-11-05T14:09:54.945Z","updated_at":"2025-04-05T10:30:38.652Z","avatar_url":"https://github.com/deshima-dev.png","language":"Python","readme":"# dems\n\n[![Release](https://img.shields.io/pypi/v/dems?label=Release\u0026color=cornflowerblue\u0026style=flat-square)](https://pypi.org/project/dems/)\n[![Python](https://img.shields.io/pypi/pyversions/dems?label=Python\u0026color=cornflowerblue\u0026style=flat-square)](https://pypi.org/project/dems/)\n[![Downloads](https://img.shields.io/pypi/dm/dems?label=Downloads\u0026color=cornflowerblue\u0026style=flat-square)](https://pepy.tech/project/dems)\n[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.8151950-cornflowerblue?style=flat-square)](https://doi.org/10.5281/zenodo.8151950)\n[![Tests](https://img.shields.io/github/actions/workflow/status/deshima-dev/dems/tests.yaml?label=Tests\u0026style=flat-square)](https://github.com/deshima-dev/dems/actions)\n\nDESHIMA measurement set by DataArray\n\n## Installation\n\n```shell\npip install dems==2024.7.2\n```\n\n## Usage\n\n```python\nfrom dems.d2 import MS\n\n\nda = MS.new(\n    data=[[0.0, ...], ...],\n    mask=[[False, ...], ...],\n    weight=[[1.0, ...], ...],\n    ...\n)\n```\n\n## DataArray specifications\n\n| Category | Variable name | Variable type | Description | Units | Default | Data type | DataArray dims | DataArray dtype |\n|---|---|---|---|---|---|---|---|---|\n| Data | data | Data | Data values | - | - | numpy.ndarray | (time, chan) | - |\n|  | mask | Coordinate | Data masks | - | False | numpy.ndarray | (time, chan) | bool |\n|  | weight | Coordinate | Data weights | - | 1.0 | numpy.ndarray | (time, chan) | float64 |\n|  | long_name | Attribute | Data name | - | \"Brightness\" | str | - | - |\n|  | units | Attribute | Data units | - | \"K\" | str | - | - |\n|  | name | Name | DEMS name | - | \"DEMS\" | str | - | - |\n| Dimensions | time | Dimension | Start time in UTC | - | 1970-01-01T00:00:00.000000000 | numpy.ndarray | (time,) | datetime64[ns] |\n|  | chan | Dimension | Channel ID | - | 0 | numpy.ndarray | (chan,) | int64 |\n| Labels | beam | Coordinate | Beam label | - | \"\" | numpy.ndarray | (time,) | str (\u003cU16) |\n|  | scan | Coordinate | Scan label | - | \"\" | numpy.ndarray | (time,) | str (\u003cU16) |\n|  | subscan | Coordinate | Sub-scan label | - | \"\" | numpy.ndarray | (time,) | str (\u003cU16) |\n|  | state | Coordinate | State label | - | \"\" | numpy.ndarray | (time,) | str (\u003cU16) |\n| Telescope pointing | lon | Coordinate | Sky longitude | deg | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | lat | Coordinate | Sky latitude | deg | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | lon_origin | Coordinate | Reference sky longitude | deg | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | lat_origin | Coordinate | Reference sky latitude | deg | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | frame | Coordinate | Sky coordinate frame | - | \"altaz\" | numpy.ndarray | () | str (\u003cU16) |\n| Weather information | temperature | Coordinate | Ground atmospheric temperature | K | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | pressure | Coordinate | Ground atmospheric pressure | hPa | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | humidity | Coordinate | Ground relative humidity | % | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | wind_speed | Coordinate | Ground wind speed | m s^-1 | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | wind_direction | Coordinate | Ground wind direction | deg | 0.0 | numpy.ndarray | (time,) | float64 |\n| Data information | bandwidth | Coordinate | Effective channel bandwidth | Hz | 0.0 | numpy.ndarray | (chan,) | float64 |\n|  | frequency | Coordinate | Channel center frequency | Hz | 0.0 | numpy.ndarray | (chan,) | float64 |\n|  | beam_major | Coordinate | Beam major axis | deg | 0.0 | numpy.ndarray | (chan,) | float64 |\n|  | beam_minor | Coordinate | Beam minor axis | deg | 0.0 | numpy.ndarray | (chan,) | float64 |\n|  | beam_pa | Coordinate | Beam position angle | deg | 0.0 | numpy.ndarray | (chan,) | float64 |\n|  | exposure | Coordinate | Sample exposure time | s | 0.0 | numpy.ndarray | () | float64 |\n|  | interval | Coordinate | Sample interval time | s | 0.0 | numpy.ndarray | () | float64 |\n| Observation information | observation | Attribute | Observation name | - | \"\" | str | - | - |\n|  | observer | Attribute | Observer name | - | \"\" | str | - | - |\n|  | project | Attribute | Project name | - | \"\" | str | - | - |\n|  | object | Attribute | Object name | - | \"\" | str | - | - |\n|  | telescope_name | Attribute | Telescope name | - | \"\" | str | - | - |\n|  | telescope_diameter | Attribute | Telescope dish diameter | m | 0.0 | float | - | - |\n|  | telescope_coordinates | Attribute | Telescope ITRS coordinates | m | (0.0, 0.0, 0.0) | \"tuple[float, float, float]\" | - | - |\n| ASTE specific | aste_cabin_temperature | Coordinate | [ASTE] Cabin temperature | K | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | aste_obs_group | Attribute | [ASTE] Observation group | - | \"\" | str | - | - |\n|  | aste_obs_id | Attribute | [ASTE] Observation ID | - | \"\" | str | - | - |\n|  | aste_obs_project | Attribute | [ASTE] Observation project | - | \"\" | str | - | - |\n|  | aste_obs_file | Attribute | [ASTE] Observation instruction (= observation) | - | \"\" | str | - | - |\n|  | aste_obs_user | Attribute | [ASTE] Observer (= observer) | - | \"\" | str | - | - |\n|  | aste_subref_x | Coordinate | [ASTE] Subreflector offset of X axis | mm | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | aste_subref_y | Coordinate | [ASTE] Subreflector offset of Y axis | mm | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | aste_subref_z | Coordinate | [ASTE] Subreflector offset of Z axis | mm | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | aste_subref_xt | Coordinate | [ASTE] Subreflector rotation of X axis | deg | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | aste_subref_yt | Coordinate | [ASTE] Subreflector rotation of Y axis | deg | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | aste_subref_zt | Coordinate | [ASTE] Subreflector rotation of Z axis | deg | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | aste_misti_lon | Coordinate | [ASTE] MiSTI sky longitude | deg | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | aste_misti_lat | Coordinate | [ASTE] MiSTI sky latitude | deg | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | aste_misti_pwv | Coordinate | [ASTE] MiSTI measured PWV | mm | 0.0 | numpy.ndarray | (time,) | float64 |\n|  | aste_misti_frame | Coordinate | [ASTE] MiSTI sky coordinate frame | - | \"altaz\" | numpy.ndarray | () | str (\u003cU16) |\n| DESHIMA 2.0 specific | d2_mkid_id | Coordinate | [DESHIMA 2.0] MKID master ID (= chan) | - | \"\" | numpy.ndarray | (chan,) | int64 |\n|  | d2_mkid_type | Coordinate | [DESHIMA 2.0] MKID type | - | \"\" | numpy.ndarray | (chan,) | str (\u003cU16) |\n|  | d2_mkid_frequency | Coordinate | [DESHIMA 2.0] MKID center frequency | Hz | 0.0 | numpy.ndarray | (chan,) | float64 |\n|  | d2_mkid_q | Coordinate | [DESHIMA 2.0] MKID quality factor | - | 0.0 | numpy.ndarray | (chan,) | float64 |\n|  | d2_resp_fwd | Coordinate | [DESHIMA 2.0] Forward efficiency | - | 0.0 | numpy.ndarray | (chan,) | float64 |\n|  | d2_resp_p0 | Coordinate | [DESHIMA 2.0] Proportional coefficient of responsivity | K^-0.5 | 0.0 | numpy.ndarray | (chan,) | float64 |\n|  | d2_resp_t0 | Coordinate | [DESHIMA 2.0] Correction temperature of responsivity | K | 0.0 | numpy.ndarray | (chan,) | float64 |\n|  | d2_roomchopper_isblocking | Coordinate | [DESHIMA 2.0] Whether room chopper is blocking sensor | - | False | numpy.ndarray | (time,) | bool |\n|  | d2_skychopper_isblocking | Coordinate | [DESHIMA 2.0] Whether sky chopper is blocking sensor | - | False | numpy.ndarray | (time,) | bool |\n|  | d2_ddb_version | Attribute | [DESHIMA 2.0] DDB version | - | \"\" | str | - | - |\n|  | d2_demerge_version | Attribute | [DESHIMA 2.0] demerge version | - | \"\" | str | - | - |\n|  | d2_dems_version | Attribute | [DESHIMA 2.0] DEMS version | - | \"\" | str | - | - |\n|  | d2_merge_datetime | Attribute | [DESHIMA 2.0] Date and time of the data merge | - | - | str | - | - |\n|  | d2_merge_options | Attribute | [DESHIMA 2.0] Options passed to the data merge | - | {} | dict[str, Any] | - | - |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeshima-dev%2Fdems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeshima-dev%2Fdems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeshima-dev%2Fdems/lists"}