Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuke-takase committed Sep 3, 2021
1 parent 1d53707 commit d102bb7
Show file tree
Hide file tree
Showing 6 changed files with 122 additions and 96 deletions.
2 changes: 1 addition & 1 deletion src/.ipynb_checkpoints/Falcons-checkpoint.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ include("./function/make_scanmap.jl")

export ScanningStrategy, gen_ScanningStrategy, get_pointings, get_pointing_pixels, period2rpm
export TwoTelescopes_ScanningStrategy2map, TwoTelescopes_ScanningStrategy2MapInfo, ThreeTelescopes_ScanningStrategy2map
export ScanningStrategy2map, Mapmaking, pixtod2hitmap, angtod2hitmap, Genmap
export ScanningStrategy2map, Mapmaking, pixtod2hitmap, angtod2hitmap, array2map
export get_psiDataBase, ScanningStrategy2MapInfo, get_pointings_tuple
#export lft_focalplane_configration, mft_focalplane_configration, hft_focalplane_configration, get_FP_each_freq
#export pickup_wafer, pickup_freq, ang2xy, longitude2pix, ang2xy_projected_hft, ang2xy_projected_mft
Expand Down
2 changes: 1 addition & 1 deletion src/Falcons.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ include("./function/make_scanmap.jl")

export ScanningStrategy, gen_ScanningStrategy, get_pointings, get_pointing_pixels, period2rpm
export TwoTelescopes_ScanningStrategy2map, TwoTelescopes_ScanningStrategy2MapInfo, ThreeTelescopes_ScanningStrategy2map
export ScanningStrategy2map, Mapmaking, pixtod2hitmap, angtod2hitmap, Genmap
export ScanningStrategy2map, Mapmaking, pixtod2hitmap, angtod2hitmap, array2map
export get_psiDataBase, ScanningStrategy2MapInfo, get_pointings_tuple
#export lft_focalplane_configration, mft_focalplane_configration, hft_focalplane_configration, get_FP_each_freq
#export pickup_wafer, pickup_freq, ang2xy, longitude2pix, ang2xy_projected_hft, ang2xy_projected_mft
Expand Down
4 changes: 2 additions & 2 deletions src/function/.ipynb_checkpoints/mapmake-checkpoint.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ function ScanningStrategy2map(SS::ScanningStrategy, division::Int)
return out_map
end

function Genmap(map_array::Array)
function array2map(map_array::Array)
nside = npix2nside(length(map_array))
m = Map{Float64, RingOrder}(nside)
m = HealpixMap{Float64, RingOrder}(nside)
m.pixels .= map_array
return m
end
Expand Down
4 changes: 2 additions & 2 deletions src/function/mapmake.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ function ScanningStrategy2map(SS::ScanningStrategy, division::Int)
return out_map
end

function Genmap(map_array::Array)
function array2map(map_array::Array)
nside = npix2nside(length(map_array))
m = Map{Float64, RingOrder}(nside)
m = HealpixMap{Float64, RingOrder}(nside)
m.pixels .= map_array
return m
end
Expand Down
Loading

0 comments on commit d102bb7

Please sign in to comment.