hpc4cmb / litebirdtask Goto Github PK
View Code? Open in Web Editor NEWLiteBIRD TOAST Analysis and Simulation Kit
License: BSD 2-Clause "Simplified" License
LiteBIRD TOAST Analysis and Simulation Kit
License: BSD 2-Clause "Simplified" License
Although we can export a toast focalplane and use that with the existing toast example workflow, as soon as we have some litebird-specific operations in this repo we should make an equivalent "standard" workflow here.
Now that a demonstration IMO web API exists, we should provide a script that generates a local toml file from the IMO. Then we can use this file directly with our existing tools.
Hi ,
am not sure this is the right place for this issue.
when running lbt_export_focalplane
, i get this error
Traceback (most recent call last):
File "/global/cscratch1/sd/giuspugl/toast3_software/bin/lbt_export_focalplane", line 8, in <module>
sys.exit(main())
File "/global/cscratch1/sd/giuspugl/toast3_software/lib/python3.9/site-packages/litebirdtask/scripts/export_focalplane.py", line 56, in main
fp.save_hdf5(args.out)
File "/global/cscratch1/sd/giuspugl/toast3_software/lib/python3.9/site-packages/toast/instrument.py", line 778, in save_hdf5
table_write_parallel_hdf5(self.detector_data, handle, "focalplane", comm=comm)
File "/global/cscratch1/sd/giuspugl/toast3_software/lib/python3.9/site-packages/toast/utils.py", line 736, in table_write_parallel_hdf5
dset = root.create_dataset(name, dset_shape, dtype=dset_type)
AttributeError: 'str' object has no attribute 'create_dataset'
Think the issue is that in
args.out
is a str
not an hdf5.Group.
Changing that line into something like :
import h5py
f = h5py.File(args.out,'w')
grp = f.create_group("focalplane")
fp.save_hdf5(args.out )
f.close()
might do the work. Any suggestion ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.