The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
library(panstarrs)
library(dplyr)
#>
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#>
#> filter, lag
#> The following objects are masked from 'package:base':
#>
#> intersect, setdiff, setequal, union
library(data.table)
#>
#> Attaching package: 'data.table'
#> The following objects are masked from 'package:dplyr':
#>
#> between, first, last
df_cone <- ps1_cone(
coords$ra,
coords$decl,
r_arcmin = 0.01,
table = 'mean',
release = 'dr2'
)
# tidyverse approach
df_cone |>
dplyr::select(dplyr::matches('[grizy]MeanPSFMag$'))
#> gMeanPSFMag rMeanPSFMag iMeanPSFMag zMeanPSFMag yMeanPSFMag
#> <num> <num> <num> <num> <num>
#> 1: 15.0402 14.553 14.2109 14.2814 14.3041
# or if you prefer data.table approach
df_cone[, .SD, .SDcols = grepl('[grizy]MeanPSFMag$', names(df_cone))]
#> gMeanPSFMag rMeanPSFMag iMeanPSFMag zMeanPSFMag yMeanPSFMag
#> <num> <num> <num> <num> <num>
#> 1: 15.0402 14.553 14.2109 14.2814 14.3041
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.