Happy New Year, Elimboto! I've installed all these packages apart from nbodykit - I can't install mpi4py which is one of the required dependencies and don't understand yet what's the problem is. The rest will be available in a few hours.
On Friday, 1 January 2021 at 13:27:54 UTC-7 [email protected] wrote: > Dear Andrey, > > I know I have been too demanding, making a number of installation > requests. Even though, my requests intend to help make a SageCell a > full-fledged computing interface. While I and users of our forum benefit a > lot, I'm sure, many more people from around the globe will benefit too. > Shall that be possible, I request the following software: > > 1. TensorFlow (https://www.tensorflow.org/) and Keras (https://keras.io/) > - for Machine/deep learning, AI, data science (we want to use it for > teaching and prototyping) > > - pip install tensorflow > - pip install keras > > 2. Astroquery: pip install --pre astroquery ( > https://astroquery.readthedocs.io/en/latest/) (for astronomy/astrophysics) > > This has a number of dependencies: > > - numpy, astropy, requests, html5lib > <https://pypi.python.org/pypi/html5lib>, six -- they are already > installed according to my tests > - beautifulsoup (pip install beautifulsoup4 -- > https://pypi.org/project/beautifulsoup4/), in itself, is very needed and > great for web scraping -- data science > - pyVO <https://pyvo.readthedocs.io/en/latest/>, keyring > <https://pypi.python.org/pypi/keyring> ( pip install pyvo, pip install > keyring) > - See more requirements: https://astroquery.readthedocs.io/en/latest/ > > 3. GetDist: pip install getdist ( > https://getdist.readthedocs.io/en/latest/intro.html) -- for MCMC sample > analysis, plotting and GUI > > 4. Nbodykit: > https://nbodykit.readthedocs.io/en/latest/getting-started/install.html#installing-nbodykit-with-pip > > (for cosmology/astrophysics) > > 5. Dash: pip install dash (https://pypi.org/project/dash/, see here > https://www.datacamp.com/community/tutorials/learn-build-dash-python too) > -- for machine learning/data science apps > > 6. Scrapy: pip install Scrapy ( > https://docs.scrapy.org/en/latest/intro/install.html) -- > https://scrapy.org/, a web-spider/web scraper framework for data science. > > 7. Itikz: pip install itikz (https://pypi.org/project/itikz/#description) > - Cell magic for PGF/TikZ-to-SVG rendering in Jupyter - hope it will work > with SageCell (useful for teaching TikZ/PGF LaTeX) > > 8. Tikzplotlib: pip install tikzplotlib ( > https://pypi.org/project/tikzplotlib/) -- a Python tool for converting > matplotlib figures into PGFPlots <https://www.ctan.org/pkg/pgfplots> ( > PGF/TikZ <https://www.ctan.org/pkg/pgf>), into a code that can be > inserted directly in LaTeX. > > Kind regards, > > Elimboto > > > > > On Fri, Dec 25, 2020 at 7:56 AM Elimboto Yohana <[email protected]> wrote: > >> Thank you very much Andrey, appreciating. >> >> Kind regards, >> Elimboto > > >> >> On Friday, December 25, 2020, Andrey Novoseltsev <[email protected]> >> wrote: >> > selenium and chart-studio are installed! >> > >> > On Wed, Dec 23, 2020 at 6:47 AM Elimboto Yohana <[email protected]> wrote: >> >> >> >> Bokeh dependence: >> >> However, exporting images with bokeh to formats like png, or others, >> requires selenium ( >> https://docs.bokeh.org/en/latest/docs/user_guide/export.html): >> >> pip install selenium >> >> Kind regards, >> >> Elimboto >> >> >> >> On Wed, Dec 23, 2020 at 12:39 PM Elimboto Yohana <[email protected]> >> wrote: >> >>> >> >>> Hi Andrey, >> >>> >> >>> Looks like you have installed all the modules I requested, thank you >> so much. I have a request for one "Plotly" dependence -- chart-studio, >> which can be installed as >> >>> >> >>> pip install chart_studio >> >>> The previously used module plotly.plotly is deprecated. >> >>> Kind regards, >> >>> Elimboto >> >>> >> >>> >> >>> >> >>> >> >>> On Sun, Dec 20, 2020 at 7:10 PM Andrey Novoseltsev <[email protected]> >> wrote: >> >>>> >> >>>> All will be available soon! >> >>>> >> >>>> On Wed, Dec 16, 2020 at 4:12 AM Elimboto Yohana <[email protected]> >> wrote: >> >>>>> >> >>>>> Hi Andrey, >> >>>>> I would suggest the installation of the following >> libraries/software should it be possible (most of these tools are great for >> animations and visualizations): >> >>>>> 1. Plotly: pip install plotly (https://pypi.org/project/plotly/) >> or specify version: pip install plotly==4.14.1 >> >>>>> 2. SciTools: pip install scitools3 ( >> https://pypi.org/project/scitools3/, see also >> https://code.google.com/archive/p/scitools/wikis/Installation.wiki) >> >>>>> 3. Python wrapper for Gnuplot (http://www.gnuplot.info/), >> PyGnuplot: pip install PyGnuplot (https://pypi.org/project/PyGnuplot/). >> Gnuplot can be installed as stand-alone. You could also install Gnuplot.py: >> http://gnuplot-py.sourceforge.net/ ( see demo usage here: >> https://www.tssfl.com/gnuplot-py-usage-4670) >> >>>>> 4. Mathematical Animation Engine, Manim: pip3 install manimlib ( >> https://github.com/3b1b/manim, see also the community version >> https://github.com/ManimCommunity/manim/) >> >>>>> >> >>>>> 5. Bokeh: pip install bokeh (https://pypi.org/project/bokeh/) >> >>>>> 6. Gif: pip install -U gif (https://pypi.org/project/gif/) >> >>>>> In addition you can install OpenCv: >> https://pypi.org/project/opencv-python/ >> >>>>> Kind regards, >> >>>>> Elimboto >> >>>>> >> >>>>> On Tue, Dec 15, 2020 at 7:15 PM Elimboto Yohana <[email protected]> >> wrote: >> >>>>>> >> >>>>>> Hi Andrey, >> >>>>>> How do I read the following files on Github in Sage Cell? >> >>>>>> 1. >> https://github.com/TSSFL/cosmo_datasets/tree/master/hdf5_data.h5 >> >>>>>> 2. >> https://github.com/TSSFL/cosmo_datasets/blob/main/avgmap_nside512_f1250.00MHz.fits >> >>>>>> They respectively require h5py and healpy packages to read them, >> so locally I would import the libraries and read them as follows: >> >>>>>> import h5py >> >>>>>> f1 = h5py.File('..../hdf5_data.h5', 'r') #... stands for path to >> the file >> >>>>>> import healpy as hp >> >>>>>> >> >>>>>> f2 = hp.fitsfunc.read_map('..../avgmap_nside512_f1250.00MHz.fits', >> field=0) >> >>>>>> I tried >> >>>>>> >> >>>>>> f1 = h5py.File(' >> https://github.com/TSSFL/cosmo_datasets/tree/master/hdf5_data.h5', 'r') >> >>>>>> f2 = maps = hp.fitsfunc.read_map(' >> https://github.com/TSSFL/cosmo_datasets/blob/main/avgmap_nside512_f1250.00MHz.fits', >> >> field=0) >> >>>>>> on Sage Cell but failed, I get some errors. >> >>>>>> Kind regards, >> >>>>>> Elimboto >> >>>>>> >> >>>>>> On Tue, Dec 15, 2020 at 4:21 AM Elimboto Yohana <[email protected]> >> wrote: >> >>>>>>> >> >>>>>>> Pandas works great, but so far I have tested pandas with .csv >> data files. I will test reading other data files such as .fits, .h5 and so >> on. >> >>>>>>> >> >>>>>>> Thank you, >> >>>>>>> >> >>>>>>> Elimboto >> >>>>>>> >> >>>>>>> On Tuesday, December 15, 2020, Andrey Novoseltsev < >> [email protected]> wrote: >> >>>>>>> > You have internet access from SageCell, so you definitely can >> read data from GitHub - as far as for interpreting and parsing them it >> depends on what you want and need to process them. I think panda is >> installed, so your code should work - does it not? If something else needs >> to be installed - let me know! >> >>>>>>> > On Mon, Dec 14, 2020 at 12:05 PM Elimboto Yohana < >> [email protected]> wrote: >> >>>>>>> >> >> >>>>>>> >> Thank you, Andrey, >> >>>>>>> >> I will let you know If I encounter any issues. There are some >> warnings, but they don't cause any harm so far. I also hope the available >> dependencies suffice for current use. >> >>>>>>> >> >> >>>>>>> >> I do not know why my messages do not appear in the Google >> group, I have actually been replying to both your email and the google >> group! >> >>>>>>> >> One thing I would like to ask, If I have some astronomical >> data on a public repository such as GitHub, say the data is in .fits, or >> .h5 (HDF5) formats, can the data in these file formats be read by parsing >> the repo URL? Or how can this be done? Is there a limitation for some data >> formats? >> >>>>>>> >> >> >>>>>>> >> For example, using pandas we can read .csv data file on GitHub >> as >> >>>>>>> >> df = pd.read_csv(" >> https://github.com/selva86/datasets/raw/master/mtcars.csv") >> >>>>>>> >> Kind regards, >> >>>>>>> >> Elimboto >> >>>>>>> >> >> >>>>>>> >> >> >>>>>>> >> On Mon, Dec 14, 2020 at 7:37 PM Andrey Novoseltsev < >> [email protected]> wrote: >> >>>>>>> >>> >> >>>>>>> >>> Hi Elimboto! >> >>>>>>> >>> If there are cases when they don't work because of some >> missing optional dependencies, I'll be happy to install those as well! >> >>>>>>> >>> I am also a bit puzzled why your messages do not show up in >> the google group - as far as I can tell you are allowed to post and there >> are no messages in moderation. >> >>>>>>> >>> Best, >> >>>>>>> >>> Andrey >> >>>>>>> >>> >> >>>>>>> >>> -- >> >>>>>>> >>> You received this message because you are subscribed to the >> Google Groups "sage-cell" group. >> >>>>>>> >>> To unsubscribe from this group and stop receiving emails from >> it, send an email to [email protected]. >> >>>>>>> >>> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-cell/CAD0_dC5qDkhMuMmZj5E%3DvsHiTvnnqvq2Nw637GH8BeMWtrW_%2Bw%40mail.gmail.com >> . >> >>>>>>> > >> >>>>>>> > -- >> >>>>>>> > You received this message because you are subscribed to the >> Google Groups "sage-cell" group. >> >>>>>>> > To unsubscribe from this group and stop receiving emails from >> it, send an email to [email protected]. >> >>>>>>> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-cell/CAD0_dC65mDrsVEyZUEf%2BNyB7q%2BUTKor0oiC9TAHbnfTGvadftg%40mail.gmail.com >> . >> >>>>>>> > >> >>>> >> >>>> -- >> >>>> You received this message because you are subscribed to the Google >> Groups "sage-cell" group. >> >>>> To unsubscribe from this group and stop receiving emails from it, >> send an email to [email protected]. >> >>>> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-cell/CAD0_dC5EcDLDCTbZK6Vq4HP8Lqqr-GOD7JyQBQNOm%2Bj-bfJwJw%40mail.gmail.com >> . >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "sage-cell" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to [email protected]. >> > > To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-cell/CAD0_dC4Z%2BKvpJJFJKZ%2Bg5OuAO_gTQKwrzvXfvYUOJzM6MrDn8A%40mail.gmail.com >> . >> > > > -- You received this message because you are subscribed to the Google Groups "sage-cell" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/105f6dd0-c4fa-4657-a83e-280643c67d7dn%40googlegroups.com.
