Science topic
Python - Science topic
Explore the latest questions and answers in Python, and find Python experts.
Questions related to Python
I need help with the coding to prepare an inventory map for a specific region. I need help with using InSAR images as an input, or I need to know where I can get code quickly.
- Do you find it better to stick to Jupyter Notebooks for flexibility, or does a standalone GUI (e.g., using Tkinter or PyQt) significantly improve lab productivity?
- How do you manage the trade-off between development time and research utility?
From research point of view, I want to try segmentation on medical radiology images. Can anyone suggest me related to coding platform to be used?
Like python, R, Matlab etc.
Which is suitable and some related to start over?
I’m working on a PhD research project in Forestry Engineering at UFPR (Brazil), analyzing urban forests in Curitiba with a two-stage sampling approach (neighborhoods as primary units, plots as secondary). My recent submission to Silva Fennica used Landsat-derived tree cover index for biomass modeling via GLM. What validation techniques (e.g., cross-validation, AIC/BIC comparison, field data integration) do you recommend to strengthen model robustness, especially for publication in high-impact journals? Any R/Python code examples or key references appreciated. Data details: 75 neighborhoods, sample sizes m=17/n=221 for SE13%
Is it possible to keep active the runtime of Google Colab all the time (even when there is no activity)? May be with paid version or some kind of coding? Also, to avoid such issues (including the RAM crash problem), shall we go for offline platforms like VS code, Anaconda, etc.?
how Python’s design and ecosystem affect its suitability for building scalable, high-performance software systems.
Hi everyone,
I’m an MSCS student in the U.S. preparing a MICCAI 2026 submission on histopathology self-supervised learning and label efficiency (benchmarking performance under 1–10% labeled regimes with strong baselines).
Due to international travel constraints, I may not be able to attend in person in Abu Dhabi. I’m looking for a collaborator who can contribute meaningfully before submission (experiments/analysis/writing/reproducibility) and, if accepted, potentially present on-site as an author.
If interested, please DM me with your background (medical imaging / SSL / PyTorch) and availability.
Thanks!
I have installed the python engine i-PI that helps with the REMD but and i am attaching the .xml script here can someone tell me where i m going wrong <simulation verbosity='high'>
<total_steps>20000</total_steps>
<prng>
<seed>9876</seed>
</prng>
<output prefix='TREMD'>
<properties filename='out' stride='10'>
step, time{femtosecond}, conserved{kelvin}, temperature{kelvin}, potential{kelvin}, kinetic_cv{kelvin}
</properties>
<trajectory filename='pos' stride='100' format='xyz' cell_units='angstrom'>
positions{angstrom}
</trajectory>
<checkpoint filename='checkpoint' stride='1000' overwrite='True'/>
</output>
<ffsocket mode='inet' name='driver'>
<address>localhost</address>
<port>12345</port>
<timeout>500</timeout>
</ffsocket>
<system>
<cell units='angstrom'>
10.0 0.0 0.0
0.0 10.0 0.0
0.0 0.0 10.0
</cell>
<initialize nbeads='2'>
<file mode='xyz'>water.xyz</file>
<velocities mode='thermal' units='kelvin'>300</velocities>
</initialize>
<forces>
<force forcefield='driver'/>
</forces>
<ensemble>
<temperature units='kelvin'>300.0</temperature>
</ensemble>
<ensemble>
<temperature units='kelvin'>400.0</temperature>
</ensemble>
<motion mode='REMD'>
<dynamics mode='nve'>
<timestep units='femtosecond'>0.5</timestep>
</dynamics>
<remd>
<stride>50</stride>
<exchange mode='temp'/>
</remd>
</motion>
</system>
</simulation>
This is a test case for a water molecule
Based on our current results, how can we improve the model. Does the RSS suggest overfitting? how can we further analyze PACF and ACF plots to determine which type of model is best? how can we improve the process of transforming the data to a stationary series? How do we interpret the parameters (roots-real/imaginary) to improve our model?
How public health professionals can specially researcher having python and machine learning knowledge?
I have measured the transmittance and total reflectance spectrum of ZnO. I want to obtain the bandgap and other optical constants from these data. I have an idea about the thickness of the film (from the cross-sectional SEM image of the layer). Not all my spectra have the interference pattern, so I don't know if Swanepoel analysis can be done on them. Another method that I saw was using Transfer Matrix analysis. From what I understood, it would require computing abilities using Python or Matlab, is that so? Is there any software developed to do the analysis? Can someone suggest papers or guides which I can refer to understand how it can be done using Origin, if it would be possible? I am looking for a method which is more accurate than using the Beer-Lambert law, as I have thin film samples.
I am a student in a Law–Economics dual program, building a simplified economic model of a fictional country. I want to simulate interactions between households, firms, markets, and institutions. I am considering combining an ABM with a Stock-Flow Consistent approach. Is this the most suitable framework for a small, pedagogical model? I would be extremely grateful for any references, methodological guides, or software recommendations.
keywords: agent-based modeling, stock-flow consistent, computational economics, macroeconomics, economic modeling, simulation, household-firm interaction, financial flows
I have been struggling for the past few days with handling the PK-Sim. I have to finish a task of converting the model developed in PK-sim into a model developed in Python. I have the .pkml files for the developed model. Is that everything I need, or is any other information also required?
Any advice will be much appreciated.
Hello everyone,
I’m a 4th-year undergraduate student in Electrical and Electronic Engineering (EEE), currently working on my undergraduate thesis that involves crop simulation using DSSAT.
I’ve been trying to find resources or tutorials on how to:
- Edit existing example files or datasets in DSSAT.
- Run DSSAT simulations directly through MATLAB or Python, so that I don’t have to manually open the DSSAT interface each time I run a simulation.
Unfortunately, I haven’t found any clear or detailed videos or articles explaining this process.
Can anyone please suggest any documentation, tutorials, or example codes related to this topic? Any guidance or reference materials would be greatly appreciated.
Thank you in advance for your help!
— Tanvir
“Will artificial intelligence put an end to the work of data analysts (SPSS, R, JASP, Jamovi, Python), or will it perform the analysis with its own algorithms and turn everyone into a data analyst?”
I have a problem in math task is to give a
mathematical equation which calculate optimal
solution of 3 rectangle, square shape object we
have there position in (x,y) coordination and there
size is define by length and height (l,g) now task is
give any mathematic eqation which give you
optimal solution without overlapping ech other in
2D dimention and have to minimum space
occupation means want to locate in (x,y) plane
where all the object have least space occupied
and give optimal space solution. now can anyone help to solve this problem with the using the NP-hard problem? or provide mesome guidence to get an idea to solve this with the using python programming,
I am currently working on optimizing our inventory management system and need to calculate the monthly safety stock for various SKUs. I have already generated weekly safety stock values based on historical data and lead times. However, I need to adjust these values for a monthly period considering several factors:
1. SKU Contribution Ratio: This ratio indicates the importance of each SKU. A higher ratio means the SKU is more critical and should have a higher safety stock.
2. CCF Factor: This factor reflects our past ability to fulfill orders based on historical order and invoice data.
3. Monthly Stock Reduction Percentage: This percentage shows how much stock is typically left at the end of each month. If this value is 100% for four consecutive months, it indicates no need to keep that much inventory for the respective SKU. Conversely, if the values are decreasing, it suggests that the safety stock has been used and needs to be adjusted.
Given these factors, I need to determine a safety factor for the month, which will be used to adjust the weekly safety stock values to monthly values.
Could you suggest scientific methodologies or models that can effectively integrate these factors to calculate the monthly safety stock?

Dear connections, there is a continuous error in VS for any command in the Python package.
I'm building a machine learning model using data from existing papers. Manual extraction is slow, and using large language models requires repeated queries for accuracy. How can I streamline and automate this process for faster, more reliable results?
It is possible here that we suggest new topics that are suitable as research, master’s theses, or doctoral dissertations on the application of artificial intelligence or programming in the Python language on demographic topics or population geography.
How can I normalize a data set of spectrograms using Python coding?
I am seeking comprehensive book recommendations to build a strong theoretical foundation in several advanced machine learning algorithms for my research. My focus is on understanding the underlying principles and statistical background, and the ultimate goal of implementing these methods in Python.
I am particularly interested in books that cover the following topics:
- Feature Selection & Noise Handling (Boruta, MDFS, and Vita)
- Imbalanced Data & Resampling Techniques (SMOTE, ENN, AdaSyn, and their hybrids (SMOTETomek, SMOTE-ENN))
- Deep Learning Architectures (MLPs, ANNs, DNNs, and CNNs)
- Hybrid Models (Hybrid machine learning and Hybrid deep learning models)
Could you suggest any textbooks covers the theory, statistical understanding, and algorithmic design of these topics using Python?
Thank you for your guidance and insights.
Please share your publicly available transportation project(s) that use R, Python, Julia or other tools.
What free resources (open access books, websites, YouTube channels, etc.) do you use to teach Julia programming language?
Please include hyperlinks in your answer.
Thanks.
Hi everyone,
I'm working on a project where I need to compare the similarity between line curves on two separate charts, and I could use some guidance. Here’s the situation:
- First Chart Details: Contains two curves, both of which are moving averages. These curves are drawn on a browser canvas by a user. I have access to the x and y data points of these curves.
- Second Chart Details: Contains two curves, with accessible x and y data points. In this chart, the x-axis represents time, and the y-axis represents values.
Challenge:
- The two charts do not share the same coordinate system values.
Goal:
- I would like to compare the similarity in patterns between individual lines across the two charts (i.e., one line from the first chart vs. one line from the second chart).
- Additionally, I want to compare the overall shape formed by both lines on the first chart to the shape formed by both lines on the second chart.
Could anyone provide advice on methodologies or algorithms that could help in assessing the similarity of these line curves?
Thank you for any help.
Lovro Bajc
I have attached
For my project, I am working on DWI data of 150 subjects and obtained connectivity matrices base on fa and adc in the pickle format . The matrix size is 124X124 and to avoid wasting time I need to obtain graph features such as small worldness and centrality using command line for all subjects.
I have worked with gretna, brain connectivity toolbox and BRAPH but as you know these toolboxes work with GUI and it takes a long time to run them for all subjects.
Thanks in advance to your attentions or maybe your helps
I run experiments with optimization models and heuristics across thousands of scenarios, often producing many .txt or .csv outputs. I am looking for concrete workflows and tools to keep this manageable and reproducible.
What do you use to
- organize runs and configurations
- track metrics, random seeds, and code versions
- parse and store large result sets at scale (for example SQLite or Parquet)
- parallelize on a laptop or on a cluster
- generate final tables and plots for papers and teaching
Stack I am considering: GAMSPy for modeling inside Python, pandas or polars for data handling. A few months ago I tested Dr. Tim Varelmann’s GAMSPy course and found the single-environment approach promising for research and teaching.
Course page : whop.com/bluebird-optimization
I would appreciate patterns that worked for you and common pitfalls to avoid. Example repositories are very welcome.
Importance of data augmentation in AI.
I'm interested in applying Non-equilibrium Thermodynamcis for Glassy Polymer (NET-GP) [1] framework to Statistical Associating Fluid Theory (SAFT) variations. Although the NE-SAFT models were reported multiple times in the literature [2], none of them explained how to do this starting from equilibrium SAFT codes/programmes (such as Matlab, python). The papers generally just write "determined by numerical method" in MATLAB, which doesn't offer too much insights.
The biggest issue (that I can identify) is conventional equilibrium SAFT programmes takes temperature (T) and pressure (P) as independent variables, whereas in the NET-GP framework, the independent variables are instead be temperature (T) and another volume(V)-dependent variables (such as polymer volume or polymer density).
Given this information, how should I modify a conventional SAFT code to produce NE-SAFT? Is there a quick work around this (T,V) dependency? Or, would the only way be rewriting all SAFT equations to take (T,V) as indepedent variables?
We are pleased to share that our new platform, GRAFFAIN, is now live and freely accessible to researchers.
GRAFFAIN is a Shiny-based web application designed to support AI-assisted qualitative data extraction and visualisation.
GRAFFAIN aims to assist and empower researchers with a no-code platform that simplifies complex workflows and makes high-level visualisations accessible to all.
🔗 Access the platform: https://graffain.com/
We would greatly appreciate your feedback and thoughts on how the tool functions, how it may support your research processes, and any features you'd like to see in the future.
Please feel free to test the platform and share your insights with us in this thread.
Your contributions will help us improve the tool and better serve the research community.
Contributors:
Sait Çüm
Elif Kübra Demir
Tolga Demir
Yasemin Kahyaoğlu Erdoğmuş
Mini Guide: https://doi.org/10.6084/m9.figshare.29376641
Hi all
I'm looking to accelerate some python code I have written using JAX just-in-time compilation, specifically using Dawson's integral of the first kind. Somewhat unhelpfully (damn you, SciPy!) the version available from SciPy.special does not work with JAX, so I have been looking for global approximations of high accuracy. My usual go-to implementation for non-python code, which is given in D. Roy's famous 2009 article "Global approximations of some functions", is only accurate to around 1%, which is not enough for my requirements. Does anyone know of a better/more recent implementation that improves on this level of accuracy, whilst remaining truly global (i.e. can be evaluated for any value of x)? Anyone who wants to DM me, please feel to look me up on ResearchGate or LinkedIn and get in touch.
Thanks!
Dave
machine learning and python in discrete time systems.
🚀 New Video Alert for Aspiring Quant Traders & RL Enthusiasts!
🎯 How to Build a Custom Trading Environment in OpenAI Gym | Step-by-Step Reinforcement Learning Tutorial
📺 Watch now 👉 https://youtu.be/qSaNqp8Bcy4
Are you ready to bridge the gap between financial markets and AI-driven decision-making?
In this hands-on tutorial, I walk you through:
✅ Building a custom trading environment using OpenAI Gym
✅ Implementing the core mechanics of a market simulation
✅ Preparing your environment for Reinforcement Learning agents
✅ Laying the foundation for your own AI trading bots
Whether you're a data scientist, algorithmic trader, or ML researcher, this tutorial will help you turn theoretical RL concepts into a practical market environment.
🔁 Like | 💬 Comment | 🔗 Share
Let’s make finance smarter with AI!
#ReinforcementLearning #TradingBot #OpenAI #Gym #AIinFinance #MachineLearning #Python #QuantFinance #AlgorithmicTrading #CustomEnvironment #RLTrading #YouTubeTutorial
DSTools is a Python library designed to assist data scientists and researchers by providing a collection of helpful functions for various stages of a data science project, from data exploration and preprocessing to model evaluation and synthetic data generation.
The library is built upon the author's extensive multi-decade experience (30+ years) in data science, statistical modeling, and enterprise software development. Drawing from real-world challenges encountered across diverse industries including finance, banking, healthcare, insurance, and e-commerce, this toolkit addresses common pain points that practitioners face daily in their analytical workflows.
The development philosophy emphasizes practical utility over theoretical complexity, incorporating battle-tested patterns and methodologies that have proven effective in production environments. Each function and module reflects lessons learned from managing large-scale data projects, optimizing computational performance, and ensuring code maintainability in collaborative team settings.
The library encapsulates best practices developed through years of consulting work, academic research collaborations, and hands-on problem-solving in high-stakes business environments. It represents a distillation of proven techniques, streamlined workflows, and robust error-handling approaches that have evolved through countless iterations and real-world applications.
This comprehensive toolkit serves as a bridge between theoretical data science concepts and practical implementation needs, offering developers and researchers a reliable foundation built on decades of field-tested expertise and continuous refinement based on community feedback and emerging industry requirements. This library with helper functions to accelerate and simplify various stages of the data science research cycle.
This toolkit is built on top of popular libraries like Pandas, Polars, Scikit-learn, Optuna, and Matplotlib, providing a higher-level API for common tasks in Exploratory Data Analysis (EDA), feature preprocessing, model evaluation, and synthetic data generation. It is designed for data scientists, analysts, and researchers who want to write cleaner, more efficient, and more reproducible code.
Importance of data augmentation in AI.
Dear researchers.
I have recently started my research in detecting and tracking brain tumors with the help of artificial intelligence, which includes image processing.
What part of this research is valuable, and what do you suggest for the most recent part that is still useful for a PhD. research proposal?
Thank you for participating in this discussion.
’ve come to believe that the most urgent conversations in science, ethics, and innovation are no longer about capability, but about intention.
We know how to build powerful systems: artificial intelligence, global platforms, biotech. But do we know how to build systems that protect the vulnerable, that honour human dignity, and that centre ethical intelligence alongside technical genius?
In my own work at the intersection of mental health, entrepreneurship, and rights (both human and post-human) I’ve seen how intellectual brilliance without empathy creates structures that exclude. Especially for those already marginalised.
That’s why I believe the future needs more than clever minds. It needs courageous ones. Minds that question power. That challenge ego. That embrace feminist principles not as slogans, but as design values: equity, voice, agency, and care.
I’ve always admired those who can lead and listen. Who can take apart systems by morning, and build community by night. And I’m convinced that some of the most visionary thinkers alive today, especially women are working quietly, strategically, and far from the spotlight.
If you're one of those voices I’d be honoured to connect, collaborate, or simply exchange ideas. Some revolutions begin with papers and code. Others begin with one honest conversation between minds willing to see each other clearly.
answer here or send me an email: henrik.arvidsson@viamareconsulting.com
#AIethics #FeministDesign #Neurodiversity #Entrepreneurship #FutureOfRights #MentalHealthInnovation #DeepConversations #LeadershipRedefined
I am currently working on an image compression-encryption algorithm that employs the Daubechies wavelet transform (db2) in a quantum computing framework. We have already designed and implemented the quantum version of the Daubechies wavelet transform using Qiskit in Python.
Now, I am looking to simulate the same algorithm in MATLAB. However, I am unsure how to implement the Daubechies wavelet transform (db2), particularly in a way that aligns with our quantum-based design.
If anyone has experience or insights on how to effectively replicate or approximate the quantum Daubechies wavelet transform in MATLAB, your guidance would be greatly appreciated.
Is there any built-in function available in MATLAB for this transformation?
Artificial Neural Network Modeling in combination with Genetic Algorithm is used for the optimization of process parameters. Can anyone provide the python code for ANN-GA.
I am currently exploring the application of machine learning (ML) and deep learning (DL) techniques in the healthcare domain, specifically focused on cancer detection and diagnosis. I would like to implement models using Python and am seeking guidance on:
- Suitable datasets for different types of cancer (e.g., breast, lung, brain, skin).
- Appropriate ML/DL algorithms for classification, segmentation, or survival prediction tasks.
- Preprocessing techniques for medical data (e.g., histopathology images, MRI scans, clinical records).
- Python libraries and frameworks commonly used (e.g., Scikit-learn, TensorFlow, Keras, PyTorch).
- Example projects or GitHub repositories to refer to.
hi my thesis is about myocardial infarction detection. do you know how to import entire database for simulation of research papers?
I would like to know if Aspen Plus can be linked with MATLAB or Python?
I have prepared a paper on Quantum Algorithm Simulation: Deutsch-Jozsa & Grover Search using Python and QuTiP.
Tell me how to upload my paper.
I want to implement a python code to perform protein protein docking using fast fourier transform in python with visualization of correlation maps for the two grids for educational purposes. i tried to use AI to help me in implementing the code, but the shifts produced make the two proteins away from each other.
this is the colab link: https://colab.research.google.com/drive/1Jahhj3YQYERjxVl4j9oSl7QRvRLy_VqX
this is a link for the receptor protein and the ligand protein with their center of mass set to the origin: https://drive.google.com/drive/folders/17cUuyD3bkfo5sXBn9LQ7dsoeFvvkPfLS
just upload the two files and run the cells to see that the correlation has high values at the corners
my research is differentiate gbm and cns lymphoma cancer in brain using MRI Scan with deep learning python or matlab could any one help me to do this
I propose the development of an integrated learning platform utilizing Simulink, CODESYS, Python IDLE, and a custom GPT model. This platform will serve multiple educational purposes:
- Simulink: Employed for plant modeling.
- CODESYS: Utilized for process control.
- Python IDLE: Used for tracking learner progress.
- :
: Functions as an AI
These components will be interconnected via OPC UA, with CODESYS WebVisu serving as the user interface, which includes an AI tutor
This setup aims to provide students with a seamless transition from modeling and controller design to control loop performance analysis. During their use of the platform, students can seek guidance from the AI tutor on fundamental control theory questions. Additionally, the analytics derived from Python IDLE will help identify areas where students may need further assistance, enabling targeted
Incorporating hardware into this platform could further enhance its utility, offering both virtual and remote lab
This is basically a Matrix decomposition technique which can be applied to spectroscpic data in order to extract the spectra of the components involved in the reaction that your spectroscopic data represents. At the same time the respective concentration orofiles of those components can also be extracted against a particular variable say like temperature.
Regular Expressions in NLP Explained! | Power of Patterns
Understanding how text is processed in Natural Language Processing (NLP) often begins with mastering one powerful tool — Regular Expressions (Regex).
🔍 Want to extract specific patterns from text?
🔡 Clean and preprocess large volumes of unstructured data?
💡 Detect trends, emails, hashtags, or even sarcasm?
Regex is the unsung hero behind it all. Whether you're new to NLP or brushing up on text processing techniques, this video breaks it down in a simple, clear, and practical way.
🎥 Watch here:
✅ Perfect for:
NLP & ML beginners
Data Scientists
Python Developers
Anyone curious about the power of pattern matching
Let’s decode the language of text with the power of patterns!
#NLP #Regex #DataScience #MachineLearning #TextProcessing #Python #RegularExpressions #AI #PatternMatching #CleanData #NaturalLanguageProcessing
NLP Fundamentals | Syntax: Regex, Morphology, Parse Trees & Python Parsing Explained
Understanding language starts with understanding syntax — the structure that gives meaning to words and phrases. In my latest video, we dive deep into some of the most foundational NLP concepts:
✅ Regular Expressions (Regex) in Python
✅ Morphological Analysis
✅ Parse Trees & Syntactic Structure
✅ Python Libraries for Parsing (like NLTK & spaCy)
Whether you're a machine learning engineer, linguist, or just exploring natural language processing, this tutorial will equip you with essential tools to parse and analyze language effectively.
🎥 Watch now: https://youtu.be/25rZh-VkxMw
Let me know your thoughts in the comments, and feel free to share with others learning NLP!
#NLP #MachineLearning #DataScience #Python #Regex #ParseTrees #NaturalLanguageProcessing #AI #DeepLearning #NLPwithPython
I am trying to get raw EEG data from Emotive Epoch+ (Latest Version) by using python (emokit and Cykit libraries). But all my approaches have been failed. Is there any way to get raw eeg data from Emotive Epoch+ without using their research SDK? Is it possible to use Emotive Epoch+ for real time data analysis? If it is possible , how will I do it?
Any Information about this will be a great help for me and my teammates.
Thanks in advance.
Hi everyone,
I’d like to ask for advice on how to generate a plot like the one shown in J. Am. Chem. Soc. 2019, 141, 7014−7027. It seems to combine features of both stacked plots and contour plots. I’m wondering whether this can be done using Origin or Python, and if so, how to implement it. Any suggestions or examples would be greatly appreciated!

Hi,
I have a protein sequence file (about 14.9 GB) in FASTA format. Each sequence has an ORF ID in the header line. I want to find the KEGG Orthology (KO) IDs that match these ORFs.
Can someone please suggest a tool or workflow that can handle large files and help me map ORF IDs to KO IDs?
Thanks in advance!
Dear ResearchGate Community,
Recently, I shared an article, a source code and a dataset under MIT license. The topic of this paper is about the idea of translation from formal mathematical system Metamath to Python, with the purpose of bridging LLM and the formal mathematical proofs. Article passed the short review of my team-lead who is Ph.D in Mathematics, but we could not find anyone we knew to endorse publication on Arxiv.
I think that the topic can be attributed to both Machine Learning and Artificial Intelligence, so I am attaching the code for both the first and second theme:
cs.LG (Learning) https://arxiv.org/auth/endorse?x=NA8HI3
cs.AI (Artificial Intelligence) https://arxiv.org/auth/endorse?x=3VQVM6
and asking you for the endorsement. Feel free to reach out via ResearchGate.
Also, attaching following links:
paper on github: https://github.com/kamushekp/metamath2py/blob/main/out/main.pdf
source code: https://github.com/kamushekp/metamath2py/tree/main
with good (as it seems to me) readme, if you are interested
Best regards, Pavel Kamenev
Humor in Philosophy and Ethics
There are many philosophical conundrums in American culture: Why does "slow down" and "slow up" mean the same thing? Why does "fat chance" and "slim chance" mean the same thing? Why do "tug" boats push their barges? Why do we sing "Take me out to the ball game" when we are already there? Why is it called "after dark" when it is really "after light"? Doesn't "expecting the unexpected" make the unexpected expected? Why are a "wise man" and a "wise guy" opposites? Why do "overlook" and "oversee" mean opposite things? Why is “bra” singular and “panties” plural? Why do we drive on a parkway and park on a driveway?
The attached PowerPoint tells what each of the following philosophers have said about humor: Plato (424-348 BCE), Aristotle (384-322 BCE), Cicero (Born in 106 BCE), Seneca (4 BCE-AD 65), St. Thomas Aquinas (1225-1274 A.D.), René Descartes (1595-1650 A.D.), Immanuel Kant (1724-1804), William Spencer (1769-1834), William Hazlitt (1778-1830), Soren Kierkegaard (1813-1855), Friedrich Nietsche (1844-1900), Sigmund Freud (1856-1939), Henri Bergson, (1859-1941), Franz Kafka (1883-1924), Jean-Paul Sartre (1905-1980), and Albert Camus (1913-1960).
John Morreall, a Professor of Religious Studies at William and Mary College points to the philosophical differences associated with having a Comic Vision vs. a Tragic Vision of Life. He also lists these Social Differences and says that most “new” religions promote the Comic Vision.
Anti-Heroism vs. Heroism
Pacifism vs. Militarism
Forgiveness vs. Vengeance
Social Equality vs. Inequality
Questioning vs. Acceptance of Authority
Situation Ethics vs. Duty Ethics
Social Integration vs. Social Isolation
Monte Python’s The Holy Grail:
Monte Python’s The Life of Brian:
Monte Python’s The Meaning of Life:
International Society for Humor Studies: http://www.humorstudies.org/
Hello, can I easily convert MATLAB code to Python code? Through a specific website? (Without using AI programs)
Hi, what is the Python equivalent for R step() function of stepwise regression with AIC as criteria?
Is there an existing function in statsmodels.api?
Hello.
I downloaded sea surface temperature (SST) data from the ERA5 reanalysis products, which has a 3-hour temporal resolution (i.e., 8 times per day).
Naturally, I expect to see different values for different times of day (e.g., 00, 03, 06, 09, etc.), but that’s not the case. For example, the value at 00:00 is 301 K, and at 15:00 it is also 301 K. Why is that?
Moreover, I checked other variables like relative humidity, mean sea level pressure, geopotential, etc. For all of these variables, I do observe different values across different times of day — except for sea surface temperature.
(Just to mention, I am using Python.)
Thank you.
Want to break into Machine Learning but don’t know where to start?
This step-by-step guide is exactly what you need.
✅ Beginner-friendly
✅ Structured roadmap
✅ Covers key concepts, tools & projects
✅ Designed to take you from zero to job-ready
🚀 Just Dropped: The Ultimate Machine Learning Roadmap 🎯
📺 Watch here 👉 https://youtu.be/47wBU-SNulE
Whether you're a student, career switcher, or just curious about ML — this video will give you a clear path forward.
Let’s decode the world of data and algorithms, one step at a time. 💻📊
If you find it helpful, drop a like, share with a friend, or let me know what you'd like to see next!
#MachineLearning #AI #DataScience #LearningPath #MLRoadmap #CareerSwitch #Python #LinkedInLearning #Education #Tech
The Ultimate Machine Learning Roadmap | Step-by-Step Beginner’s Guide
Instead of python or R, what tools can be used to generate heat map for sequencing data?
For clarity, I'm processing daily rainfall data from a CORDEX regional climate model.
HUMOR IN GOTHIC CATHEDRALS: Notre Dame Cathedral is on the Isle de la Cité in Paris France. At the entrance is the sculpture of a beheaded Christian martyr (St. Denis) holding his own head. Winchester Cathedral is a Gothic Cathedral in England. In the rafters is the Winchester Imp, placed there by the masons, and smiling down on the congregation below.
CLASSICAL GRAFFITI AND IRONIC ORATORY: In ancient Greece and Rome, there are examples of graffiti, many of which are very funny. Classical Oratory also contained many examples of Irony, Paradox, Parody, and Ridicule.
HISTORY OF COMEDY: Greek comedies were often bawdy or ribald and ended happily for everyone. To Chaucer, Shakespeare, and other writers of the Middle Ages and Renaissance, a comedy was a story (but especially a play) with a happy ending, whether humorous or not.
OLD COMEDY, MIDDLE COMEDY, AND NEW COMEDY: Old Comedy of the 6th & 5th Centuries BC often made fun of a specific person and of current political issues. Middle Comedy of the 5th & 4thCenturies BC made fun of more general themes such as literature, professions, and society. New Comedy of the 4th& 3rd Centuries BC usually revolved around the bawdy adventures of a blustering soldier, a young man in love with an unsuitable woman, or a father figure who cannot follow his own advice.
COURT JESTERS FROM THE MIDDLE AGES TO THE RENAISSANCE: During the Middle Ages, Kings’ Court Jesters were not to be in competition with the Kings. So most often they were deformed midgets with humped backs and bug eyes. They acted stupidly and wore strange clothing—cap and bells, motley clothes, and pointed shoes. Their scepters were made from pig bladders as parodies of the King’s scepter of power. In many plays, the fool is smarter than the King, but because of his appearance he could be critical of the King and the Kingdom.
FOOLS DURING THE RENAISSANCE AND BEHOND: During the Middle Ages, Kings’ Court Jesters were not to be in competition with the Kings. So most often they were deformed midgets with humped backs and bug eyes. They acted stupidly and wore strange clothing—cap and bells, motley clothes, and pointed shoes. Their scepters were made from pig bladders as parodies of the King’s scepter of power. In many plays, the fool is smarter than the King, but because of his appearance he could be critical of the King and the Kingdom.
THE EIGHTEENTH CENTURY: The eighteenth century saw the rise of a new kind of humorous author: the wit. A wit is usually a person who can make quick, wry comments in the course of conversation. Swift is best known for his novel Gulliver’s Travels in which sailor Lemuel Gulliver recounts his visits to strange lands inhabited by fantastic peoples. Gulliver’s last voyage finds him in a land where horses are the dominant species. They keep dumb, barbaric humans (called Yahoos) as beasts of burden. This novel is a humorous reflection on the failings of civilization.
THE NINETEENTH CENTURY: Jane Austen’s characters are simultaneously true-to-life and ridiculous. All of her novels can simultaneously be read as scorching satires of human nature, comedies of humours and comedies of manners. Charles Dickens is famous for the eccentrics that he portrays in his novels. For example, the characterizations of Silas Wegg and Mr. Venus in Our Mutual Friend make us laugh in delight at the recognition and exaggeration of a ‘type’ of person that we ourselves have met in real life.
THE MID AND LATE NINETEENTH CENTURY: James Russell Lowell’s Birdofreedum Sawin said, “at any rate, I’m so used up I can’t do no more fightin’ / The only chance thet’s left to me is politics or writin’.” On the western frontier, wise fools, con-men, and tricksters like Johnson J. Hooper’s Simon Suggs and George Washington Harris’s Sut Lovingood were employed to portray the rough and unsophisticated American as an ironic hero. Suggs was lazy and dishonest, and he knew it was “good to be shifty in a new country.” The late nineteenth century brought us such writers as Mark Twain, and Oscar Wilde
THE TWENTIETH CENTURY: The twentieth Century brought us suich writers as P. G. Woodehouse, E. B. White, George Orwell, Isaacv Asmov, and Joseph Heller. Such writers developed a contrast between satire (which tells society how to change), and gallows humor (which says that none of us are going to get out of this alive, so lay back and enjoy it).
TELEVISION: Television opened huge new vistas for performing arts in general, and humor in particular. Early TV featured humorous variety shows like Laugh In, and Saturday Night Live (still being aired). There was also much sketch humor in such shows as Monty Python’s Flying Circus.
THE FIRST COMIC STRIPS: The early strips such as “The Yellow Kid” were curious combinations of down-to-earth slapstick, topical joking, and rather abstract referencing. In the hands of a Windsor McCay (“Little Nemo in Slumberland,” “The Adventures of the Rare-bit Fiend,”) they were creative indeed, and could border on the surreal and handle social satire at the same time. George Herriman’s “Krazy Kat” mostly settled on a domestic humor involving marital conflict and bratty kids.
THE GOLD AGE OF HUMOR: The golden age of humor was often considered to be the 1920s but would be more accurately placed from the end of WWI to the early 1930s. During this golden age, we see the development of the “little man” in Casper Milquetoast, Andy Gump, Jiggs, Mutt (of “Mutt and Jeff”), and Dagwood (of “Blondie and Dagwood”).
THE 1940s: The humorous comic strips that were revived after the Second World War included Walt Kelly’s “Pogo,” and Al Capp’s “Li’l Abner.” Kelly’s swamp fables were allegorical ‘swamps’ themselves, loaded with social and political commentary lurking behind the antics and interactions of the familiar cast of animal characters. Al Capp’s “hillbillies” gave access to Capp’s views on topical events, government, and American values.
1950s TO THE PRESENT: THE AGE OF GALLOWS HUMOR AND SKEPTICISM: The “Peanuts” comic strip uses kids to reflect adult neuroses: Lucy uses her meanness to compensate for the unrequited love she has for Schroeder (who keeps trying to play Beethoven on a toy piano with painted-on black keys). Linus has his blanket to comfort him when his childhood fears and fantasy get in the way of his intellect, and the dog, Snoopy, deals with the limitations of his ‘dogness’ by pretending to be the Red Baron, or a lawyer, writer, hockey player, detective or the resident of a deluxe doghouse complete with a pool table and rare paintings. Charlie Brown, the consummate loser, little man character, reflects all the fears, weaknesses, and failures of modern man. He knows that Lucy will pull the football away from him when he tries to kick it, yet every year he tries again.
Would you like to create a Python package using simple prompts?
With Pygen, you can easily do it.
Pygen is a system through which you can provide details about your package description and the features you want to include. Pygen will automatically generate a package structure along with a boilerplate code to initiate your package.
The motivation for designing this system is:
- To give LLM/Agents the ability to generate their own tools.
- If a tool is not available in the arsenal, agents can build their own tools and enhance innovation.
- To promote open-source innovation and democratize AI advancement.
The repository: https://github.com/GitsSaikat/Pygen
The paper:
The tutorial: https://www.youtube.com/watch?v=1e_sGCcaO5U
HUMOR IN GOTHIC CATHEDRALS: Notre Dame Cathedral is on the Isle de la Cité in Paris France. At the entrance is the sculpture of a beheaded Christian martyr (St. Denis) holding his own head. Winchester Cathedral is a Gothic Cathedral in England. In the rafters is the Winchester Imp, placed there by the masons, and smiling down on the congregation below.
CLASSICAL GRAFFITI AND IRONIC ORATORY: In ancient Greece and Rome, there are examples of graffiti, many of which are very funny. Classical Oratory also contained many examples of Irony, Paradox, Parody, and Ridicule.
HISTORY OF COMEDY: Greek comedies were often bawdy or ribald and ended happily for everyone. To Chaucer, Shakespeare, and other writers of the Middle Ages and Renaissance, a comedy was a story (but especially a play) with a happy ending, whether humorous or not.
OLD COMEDY, MIDDLE COMEDY, AND NEW COMEDY: Old Comedy of the 6th & 5th Centuries BC often made fun of a specific person and of current political issues. Middle Comedy of the 5th & 4thCenturies BC made fun of more general themes such as literature, professions, and society. New Comedy of the 4th& 3rd Centuries BC usually revolved around the bawdy adventures of a blustering soldier, a young man in love with an unsuitable woman, or a father figure who cannot follow his own advice.
COURT JESTERS FROM THE MIDDLE AGES TO THE RENAISSANCE: During the Middle Ages, Kings’ Court Jesters were not to be in competition with the Kings. So most often they were deformed midgets with humped backs and bug eyes. They acted stupidly and wore strange clothing—cap and bells, motley clothes, and pointed shoes. Their scepters were made from pig bladders as parodies of the King’s scepter of power. In many plays, the fool is smarter than the King, but because of his appearance he could be critical of the King and the Kingdom.
FOOLS DURING THE RENAISSANCE AND BEHOND: During the Middle Ages, Kings’ Court Jesters were not to be in competition with the Kings. So most often they were deformed midgets with humped backs and bug eyes. They acted stupidly and wore strange clothing—cap and bells, motley clothes, and pointed shoes. Their scepters were made from pig bladders as parodies of the King’s scepter of power. In many plays, the fool is smarter than the King, but because of his appearance he could be critical of the King and the Kingdom.
THE EIGHTEENTH CENTURY: The eighteenth century saw the rise of a new kind of humorous author: the wit. A wit is usually a person who can make quick, wry comments in the course of conversation. Swift is best known for his novel Gulliver’s Travels in which sailor Lemuel Gulliver recounts his visits to strange lands inhabited by fantastic peoples. Gulliver’s last voyage finds him in a land where horses are the dominant species. They keep dumb, barbaric humans (called Yahoos) as beasts of burden. This novel is a humorous reflection on the failings of civilization.
THE NINETEENTH CENTURY: Jane Austen’s characters are simultaneously true-to-life and ridiculous. All of her novels can simultaneously be read as scorching satires of human nature, comedies of humours and comedies of manners. Charles Dickens is famous for the eccentrics that he portrays in his novels. For example, the characterizations of Silas Wegg and Mr. Venus in Our Mutual Friend make us laugh in delight at the recognition and exaggeration of a ‘type’ of person that we ourselves have met in real life.
THE MID AND LATE NINETEENTH CENTURY: James Russell Lowell’s Birdofreedum Sawin said, “at any rate, I’m so used up I can’t do no more fightin’ / The only chance thet’s left to me is politics or writin’.” On the western frontier, wise fools, con-men, and tricksters like Johnson J. Hooper’s Simon Suggs and George Washington Harris’s Sut Lovingood were employed to portray the rough and unsophisticated American as an ironic hero. Suggs was lazy and dishonest, and he knew it was “good to be shifty in a new country.” The late nineteenth century brought us such writers as Mark Twain, and Oscar Wilde
THE TWENTIETH CENTURY: The twentieth Century brought us suich writers as P. G. Woodehouse, E. B. White, George Orwell, Isaacv Asmov, and Joseph Heller. Such writers developed a contrast between satire (which tells society how to change), and gallows humor (which says that none of us are going to get out of this alive, so lay back and enjoy it).
TELEVISION: Television opened huge new vistas for performing arts in general, and humor in particular. Early TV featured humorous variety shows like Laugh In, and Saturday Night Live (still being aired). There was also much sketch humor in such shows as Monty Python’s Flying Circus.
THE FIRST COMIC STRIPS: The early strips such as “The Yellow Kid” were curious combinations of down-to-earth slapstick, topical joking, and rather abstract referencing. In the hands of a Windsor McCay (“Little Nemo in Slumberland,” “The Adventures of the Rare-bit Fiend,”) they were creative indeed, and could border on the surreal and handle social satire at the same time. George Herriman’s “Krazy Kat” mostly settled on a domestic humor involving marital conflict and bratty kids.
THE GOLD AGE OF HUMOR: The golden age of humor was often considered to be the 1920s but would be more accurately placed from the end of WWI to the early 1930s. During this golden age, we see the development of the “little man” in Casper Milquetoast, Andy Gump, Jiggs, Mutt (of “Mutt and Jeff”), and Dagwood (of “Blondie and Dagwood”).
THE 1940s: The humorous comic strips that were revived after the Second World War included Walt Kelly’s “Pogo,” and Al Capp’s “Li’l Abner.” Kelly’s swamp fables were allegorical ‘swamps’ themselves, loaded with social and political commentary lurking behind the antics and interactions of the familiar cast of animal characters. Al Capp’s “hillbillies” gave access to Capp’s views on topical events, government, and American values.
1950s TO THE PRESENT: THE AGE OF GALLOWS HUMOR AND SKEPTICISM: The “Peanuts” comic strip uses kids to reflect adult neuroses: Lucy uses her meanness to compensate for the unrequited love she has for Schroeder (who keeps trying to play Beethoven on a toy piano with painted-on black keys). Linus has his blanket to comfort him when his childhood fears and fantasy get in the way of his intellect, and the dog, Snoopy, deals with the limitations of his ‘dogness’ by pretending to be the Red Baron, or a lawyer, writer, hockey player, detective or the resident of a deluxe doghouse complete with a pool table and rare paintings. Charlie Brown, the consummate loser, little man character, reflects all the fears, weaknesses, and failures of modern man. He knows that Lucy will pull the football away from him when he tries to kick it, yet every year he tries again.
Hello, fellow researchers and professionals!
I am a logistics and supply chain management student, eager to deepen my technical knowledge and practical skills in the field. I'm particularly interested in hands-on projects that address real-world challenges, such as optimizing last-mile delivery, improving warehouse efficiency, or leveraging data analysis for better inventory forecasting.
I would greatly appreciate your insights, ideas, or recommendations for project topics that could help me enhance my understanding of logistics and supply chain processes. Suggestions involving tools like Python, Excel, simulation software, or even case studies are highly welcome!
Thank you in advance for your valuable contributions. I look forward to learning from your expertise!
What are the online MD simulation servers available for assessing models generated by Alphafold?
My protein is 680 residues long. I was trying to model it in ITASSER and Alphafold.
The model generated by ITASSER could be subjected to simulation on WebGro but the one generated by ALphafold could not, because it contains "more than 150000 atoms."
Being a complete novice in MD simulations and no experience of Python or other programming languages or interfaces, any suggestions for MD simulation of such large protein structures which could provide me results for Radius of gyration, RMSD and SASA, would be appreciated.
if you have your csv or excel file u ca perform your multiple regression only by uploading it then u get your output
u can get the python file in my repo github (https://github.com/M-nachid/Regression.git)
Hello,
I have been using python library SEMOPY to conduct structural equation modeling for TAM model validation with external factors on ChatGPT adoption.
Unfortunately, I think this model only provides direct effect modeling.
I would like to ask if there would perhaps be reasons to justify the scope of research and explain the value of it if ONLY direct effects are examined, and If there would perhaps be any sources supporting this claim.
Thank you in advance.
I am analyzing fatigue behavior in multifunctional composites and need to compute the hysteresis loop area from stress-strain data. My plan is to use numerical integration in Python, considering:
🔹 Trapezoidal Rule (numpy.trapz)
🔹 Simpson’s Rule (scipy.integrate.simps)
🔹 Other advanced numerical techniques?
What’s the best approach for accuracy and efficiency? Have you worked on similar calculations before? Any preferred method for noisy experimental data?
...then you might be interested in the `nupaac` package. It contains a `pandas.Series` accessor which acts as a wrapper for the `radioactivedecay` package (written and maintained by Alex Malins) to retrieve data for series containing nuclide strings. Besides acting as a wrapper, the package provides an accessor method to determine specific activities for the listed nuclides and a function to retrieve Inventory(HP) objects.
Have a look at this file to get an impression of the functionality of my package: https://codeberg.org/Cs137/NuPaAc/src/branch/main/tutorial.md
If you find it useful and want to install it, use its latest version from PyPI: https://pypi.org/project/nupaac/
Comments are welcome!
How effective is Python in plotting XRD when compared to other software like origin and xpert highsquare?
I am trying to develop mixed logit model for my data, my data is in the format shown in the image. I am getting errors while running the model like data format, alt name cannot be same as columns etc. in packages like xlogit in python and mlogit, apollo in R
My question is does one need to convert their data into the format shown even if RP data is available and only one specific choice out of few is for each individual.
If the data size is a bit large how does one convert this data to the formal using code.
Also, what happens in the case all my variable are categorical and there is no varing variables across each individual


I am using the open-source Python package, pygfunction, to model a BTES system to meet heating demands in a district heating network. Apart from obtaining fluid temperature profiles inside the borehole and inlet/outlet temperatures, I am interested in investigating the development of temperature outside the bore field in the surrounding soil.
Hi I'm using a dynamic programming tool for my research written in matlab.
However I want to shift my work in python, is it available a open source dynamic programming tool in python?
Where I can find it?
I need to implement a problem defined by 400 lines of code featured by 5 state variables, 4 output variables and 20 input time series.
Thanks!
Currently I am trying to model plastic packaging waste management scenarios and analyze the effect of interventions at the local level and policy implementation at the macro level. I have reviewed some articles and see that in some cases they have done the ABM and SD model integration using Python. However, I see that software like Anylogic and Stella (to some extent) can also combine these models.
Without considering the license price (Anylogic is more expensive than Stella), I would like to know which of these two software would be more recommendable for this integration purpose.
Hello everyone,
I have been trying to get VASCo to work for the last couple of weeks with no avail. I have all the required packages and python up-to-date and utilizing the Windows installer it seemed to run right. However, when ever I try to run the TestRun this is the output I receive
C:\Users\MY_NAME\Desktop\VASCo_1.0.2\win>py VASCo.py –testrun
File "C:\Users\MY_NAME\Desktop\VASCo_1.0.2\win\VASCo.py", line 181
print "PPIX Convert Requirements massage"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
Any suggestions would be wonderful
I started a new project on ABM for criminology and bumped on GIS and crowds movements. What I need is to simulate the movement of people commuting to work every day in a map extracted from OpenStreetMaps (OMS) platform. I program in Python, so a solution in Python would be ideal (and very convenient) for me. What library/toolbox/guide would you suggest for a newbie in GIS and simulation of crowds?
Assuming I want to use Gromacs, what do I need to pull a molecule thorugh a protein. The molecule is already in there, I just need to see if it can freely go from one part to another. I can write a script in python to do it, but I don't know if there is a general procedure or not. A good article about this would help a lot. Is it enough to start pulling an atom? Or all of them? Do I need to pull the protein the other way? Or should I fix the molecule to stay within a box?
Any help is appreciated :D
Key skills include proficiency in programming languages such as Python and R, expertise in statistics and mathematics, experience with machine learning algorithms, knowledge of data visualization tools, and strong analytical and problem-solving abilities.
Hello,
I am using watem-sedem version 5.0.2
I read the Github documentation on how to set up the model and did the tutorial which worked fine. My question is.... How do I format the raster so theres no data values in it? On their page they have "Note
WaTEM/SEDEM does not take nodata values (e.g. -9999) into account. When a nodata value in the DTM raster is encountered, it is considered as an elevation value. Consequently, slopes will be calculated wrongly. Thus, the user must ensure that all pixels in the model domain have an elevation value, and that at least two pixels outside the model domain have a valid elevation value."
I am using ArcGIS Pro, Python, and QGIS for spatial mapping and manipulation. I have a raster shaped like a watershed and there's no data values surrounding it, which is expected. thanks!
My co-author and I are working on a Python script for automatic family reconstitution using historical civil registration. Currently, we use the Jaro-Winkler algorithm and fuzzy logic to match data (birth, marriage, and death records). While both approaches have their strengths, neither provides perfect results. Has anyone worked on similar challenges and can recommend alternative methods to improve linkage accuracy?
A computer program begins its life cycle as text that follows the rules of a selected programming language, such as C#, Java, Python, etc. To decrease costs and improve the performance of the development process, the program text is often organized into autonomous fragments addressing specific responsibilities. There are many design patterns applicable to implementing typical algorithms, but the layered architecture is well-suited to be applied to the program as a whole. The main challenge is understanding the outcomes of applying the layered design pattern to programs, namely to a text compliant with a selected programming language. System architecture and application architecture topics are out of this discussion scope.
Assuming that a program is just text how to implement layered architecture?
Hello fellow researchers and devs. First of all, I would like to thank you for taking the time to participate in this discussion.
Based on your experience of programming with Python, which IDE do you currently prefer for programming with Python?
In my case and after testing other IDE's for Python like VScode, right now I am using a lot of the Spyder IDE for Python 3, mostly for its quick feedback at the time of experimentation and amazing collaborative github community.
So I would like to know your preferred Python IDE.
Regards.
How to configure HFSS with PyCharm for HFSS Scripting ? Anyone ?
Hi All,
I am actively seeking research assistant opportunities in molecular biology or bioinformatics. I recently completed my Master’s in Molecular Biology and Bioinformatics and have extensive experience analyzing NGS data and am proficient in Python, R, and Bash scripting. I'm keen on bioinformatics, data analysis, and data science opportunities where I can apply my skills. I'm open to both onsite and offsite opportunities. Any leads will be greatly appreciated. Thanks!
Dear Researcher,
I hope this message finds you well. My professor and I are looking for a skilled and advanced programmer proficient in Python and MATLAB to join our research group. Our focus is on publishing high-quality, Q1 papers in the field of Artificial Intelligence-based Structural Health Monitoring in Civil Engineering.
The ideal candidate should have expertise in:
- Deep Learning and Machine Learning
- Signal and Image Processing
- Optimization Algorithms
- Coding and Programming with Python/MATLAB
If you are passionate about research, enjoy publishing, and have sufficient time to dedicate to our projects, we would be delighted to invite you to join us.
Please send your CV to hosein_saffaryosefi@alumni.iust.ac.ir .
Best regards,
Hossein Safar Yousefifard
School of Civil Engineering
Iran University of Science and Technology
Hi I want to do iterative simulation between Sentaurus TCAD and programs like MATLAB or python.
I've made a metal-ferroelectric-metal structure (MFM). I will ramp up the gate voltage with transient command.
so I want to temporarily stop the simluation at each time step. and I want to calculate polarization of ferroelectric material (InsulatorX) based on average z-axis E-field with matlab or python. Then, put the polarization back in the Sentaurus TCAD and go to the next time step based on the polarization. (above simulation will be specifically in sdevice)
but I don't know how to realize it.
there are no commands in sdevice_ug.pdf.
So anyone who knows how to do simulation iteratively btw TCAD and matlab or python, please give me some help.
Thank you
Hi everyone, I am using Autodock and I'm fairly new and unskilled in it. I was performing a protein-ligand dock. I prepared the protein and ligand, saved them in pdbqt, prepared the gpf file and set the autogrind.exe and parameter file for running autogrid. But when I click on launch, it doesnt generate the glg and map files.
I'm not sure if this is of context but when I choose my ligand to set map types, it shows me a warning and a python shell errow, both of which I have attached below,
What should I do? Can anyone help me?



- Standardize data formats during cleaning, using consistent units (e.g., "12 years").
- Employ automated tools (e.g., Excel macros or software like Python) to detect and correct inconsistencies.
- Include clear data entry guidelines during collection to prevent inconsistencies. For example, unify entries under a single format, ensuring "12y" and "twelve years" are standardized to "12 years."
Citation: Pyle, D. (1999). Data preparation for data mining. Morgan Kaufmann.
I analyzed alphafold prediction of receptor and want to docking, previously, I optimized the receptor with openbabel in python but the result wasn't good. I optimized chemical ligand and want to start protein- ligand docking with MD and how to start?
Data Visualization and Tools Explained
👉 Watch here: https://www.youtube.com/watch?v=Quf-_0vjSSk
In this video, I dive into:
✅ What is Data Visualization?
✅ The importance of telling stories with data.
✅ A breakdown of top tools like Tableau, Power BI, and Python libraries.
✅ Tips to choose the right tool for your needs.
Whether you're a beginner trying to make sense of charts or a pro looking to sharpen your skills, this video has something for everyone! 🌟
👉 Watch here: https://www.youtube.com/watch?v=Quf-_0vjSSk
Let me know your thoughts, and feel free to share your favorite data visualization tools or tips in the comments! 👇
#DataVisualization #Analytics #DataTools #Tableau #PowerBI #Python
I am attempting to plot a Boudouard diagram using Python in Google Colab. However, the results do not match the diagrams typically found in textbooks. Could anyone advise on how to obtain accurate thermodynamic data for the calculations and ensure the diagram is correctly drawn? Any suggestions or resources would be greatly appreciated.
The image from and the one I drawn.


Hello folks, I want to find a simple model to simulate landslide. Do anyone know any software or open source written by python?
Hi,
I am trying to find a way to fit Log Pearson3 distribution to my streamflow data but I can't find the way how to! Any tips will be much appreciated. Here is the problem:
Both scipy and lmoment3 packages have Pearson3 but they don't have Log Pearson3 distributions to fit! scipy uses the Maximum Likelihood Estimation (MLE) method to fit the distribution and lmoment3 package fits the distributions by using the l-moment method. But as said, they both only have the Pearson3 distribution among their statistical distributions' list.
I calculate the Annual Maximum Flow (AMF) data which returns a time series of say 50 years of streamflow data. Then I use scipy and lmoment3 packages to fit distributions. I thought if I calculate the log of my AMF and then fit Pearson3 and then calculate the antilog in the end, it would be like fitting Log Pearson3, but it seems like its not! There are differences in how parametrs are being estimated in Pearson3 and Log Pearson3!
and I can't find any proper guide online!
Any thoughts on this?
Dear friends,
I am a researcher who study on oxides and I am interested in hydrogen bond analysis.
Unfortunately, the most software I can find to perform hydrogen bond analysis only support PDB file. But my common file is XYZ format.
I try ASE and turn my XYZ file into PDB format.
Buy when I load such PDB file in MDtraj python modules, I find the Topology always contain no bonds!
Here is my code.
python will return :<mdtraj.Topology with 1 chains, 1 residues, 96 atoms, 0 bonds>
since no bonds, there is no way to continue to do hydrogen bond analysis.
How can I generate bonds between my interested atoms?
Any advice will be appreciated !

I have amassed decades long data on bird populations and need help in calculating their population trends. There is a great bulk of research published worldwide where a variety of statistical packages (e.g TrendSpotter, rTrim here) were used to index population trends, however, I found none that would do this job using Python. While I have a profficient Python developer, the latter is having hard time deciding on the choice of appropriate statistical methods that could be used to analyse data. Anyone can help?
I am from Egypt and have a strong interest in digital chemistry, particularly cheminformatics. However, there are no academic programs in cheminformatics available in my country. I have a good grasp of Python and have experience with chemistry-related libraries like RDKit and Openbabel.
What steps can I take to build a career in cheminformatics and advance in this field?
Hello there! I’m new to Pyansys (APDL),
What I’m want to do is modal analysis of a single piezoelectric piece.
But when I’m try to redisplay the result in APDL (fig.1), it’s different then Workbench (fig.2), although I’ve checked the setting seem to be the same(file.1).
Can anyone explain to me why ? That would be great!
I put the Workbench setup process in the fig.3.
The code for Pyansys (APDL) is as follows
Process outline:
1. Build piezoelectric geometry by using block.
2. Run material_Piezo() to generate piezo material
3. Using vsel & vatt apply the material.
4. Creating mesh.
5. Select nodes by nsel, and use d to all dof = 0
6. Run modal analysis.
from ansys.mapdl.core import launch_mapdl
mapdl = launch_mapdl()
offset_x = 0.01
class Design_Parameter :
def __init__(self , mapdl):
self.mapdl = mapdl
# PZT material properties
self.pzt_mp_desnity = 7400
# permittivity
self.pzt_mp_perx = 2206.4
self.pzt_mp_pery = 2206.4
self.pzt_mp_perz = 1235.13
# stress matrix
self.pzt_mp_e13 = -16.98
self.pzt_mp_e23 = -16.98
self.pzt_mp_e33 = 19.16
self.pzt_mp_e52 = 15.34
self.pzt_mp_e61 = 15.34
# stiffness matris
self.pzt_mp_d11 = 8.0887e10
self.pzt_mp_d21 = 2.4506e10
self.pzt_mp_d22 = 8.0887e10
self.pzt_mp_d31 = 1.876e10
self.pzt_mp_d32 = 1.876e10
self.pzt_mp_d33 = 5.552e10
self.pzt_mp_d44 = 2.819e10
self.pzt_mp_d55 = 2.3204e10
self.pzt_mp_d66 = 2.3204e10
def build_pzt(self , mapdl):
self.mapdl.block(0.001 , 0.002 , 0 + offset_x , 0.06 + offset_x , 0.005 , 0.035)
def element_beam(self , mapdl):
self.mapdl.et (1 , "solid186")
self.mapdl.sectype (1 , "BEAM" , "RECT")
self.mapdl.secdata(0.005 , 0.04 , 2 , 2 )
self.mapdl.secoffset ("CENT")
def material_Aluminum(self , mapdl):
self.mapdl.mp("EX" , 1 , Parameter.beam_mp_elastic_moudulu)
self.mapdl.mp("PRXY" , 1 , Parameter.beam_mp_pusson_ratio)
self.mapdl.mp("DENS" , 1 , Parameter.beam_mp_destiny)
def material_Piezo(self , mapdl):
self.mapdl.et(2 , "solid226" , kop1=1001)
self.mapdl.mp(lab="DENS" , mat="2" , c0=Parameter.pzt_mp_desnity)
# permittivity
self.mapdl.mp(lab="PERX" , mat="2" , c0=Parameter.pzt_mp_perx)
self.mapdl.mp(lab="PERY" , mat="2" , c0=Parameter.pzt_mp_pery)
self.mapdl.mp(lab="PERZ" , mat="2" , c0=Parameter.pzt_mp_perz)
# stress matrix
self.mapdl.tb(lab="PIEZ" , mat="2" , tbopt="0")
self.mapdl.tbdata(stloc='3' , c1=Parameter.pzt_mp_e13)
self.mapdl.tbdata(stloc='6' , c1=Parameter.pzt_mp_e23)
self.mapdl.tbdata(stloc='9' , c1=Parameter.pzt_mp_e33)
self.mapdl.tbdata(stloc='14' , c1=Parameter.pzt_mp_e52)
self.mapdl.tbdata(stloc='16' , c1=Parameter.pzt_mp_e61)
# stiffness matrix
self.mapdl.tb(lab="ANEL" , mat="2" , tbopt="0" , temp="295.15")
self.mapdl.tbdata(stloc="1" , c1=Parameter.pzt_mp_d11 , c2=Parameter.pzt_mp_d21 , c3=Parameter.pzt_mp_d31 , c4=0 , c5=0 , c6=0)
self.mapdl.tbdata(stloc="7" , c1=Parameter.pzt_mp_d22 , c2=Parameter.pzt_mp_d32 , c3=0 , c4=0 , c5=0 ,c6=Parameter.pzt_mp_d33)
self.mapdl.tbdata(stloc="13" , c1=0 , c2=0 , c3=0 , c4=Parameter.pzt_mp_d44 , c5=0 ,c6=0)
self.mapdl.tbdata(stloc="19" , c1=Parameter.pzt_mp_d55 , c2=0 , c3=Parameter.pzt_mp_d66 )
Parameter = Design_Parameter(mapdl)
mapdl.clear()
mapdl.prep7()
mapdl.units("SI")
#---create material---
Parameter.material_Piezo(mapdl)
#---create geometry---
Parameter.build_pzt(mapdl)
mapdl.vsel("ALL")
mapdl.vatt(mat=2 , type_=2)
mapdl.vplot()
mapdl.esize(0.008)
mapdl.vsel("ALL")
mapdl.vsweep("ALL")
#---boundary conditio---
# 1. Face boundary
mapdl.nsel("S" , "LOC" , "Y" , "0.01")
mapdl.d("ALL" , "ALL" , 0)
mapdl.allsel()
mapdl.finish()
mapdl._solution()
mapdl.antype('MODAL')
mapdl.modopt(method="LANB" , nmode=10)
mapdl.solve()
#---post---
mapdl.post1()
result = mapdl.result
for i in range(1, 10): # 使用for loop print 模態頻率
freq = mapdl.get(entity="MODE", entnum=i, item1="FREQ")
print(f"Mode {i}: Frequency = {freq:.2f} Hz")
# ---EXIT---
mapdl.finish()
mapdl.exit()
print(f"All finish!")





















































































































































